What can you do with it?
Polling allows you to create long-running monitoring jobs that wait for external services to complete. This is perfect for tracking job statuses, waiting for processing to finish, handling asynchronous workflows, and integrating with services that require polling for results like video processing, data analysis, or web crawling. The service automatically handles retries, timeouts, and triggers callbacks when operations complete.How to use it?
Basic Command Structure
Parameters
Required:pollUrl- URL to poll for results (e.g., “https://api.example.com/job/status”)pollUrlToken- Authentication token for the polling URLcallbackUrl- URL to call when polling succeeds (e.g., “https://your-app.com/callback”)callbackUrlToken- Authentication token for the callback URLexpectedResultPattern- Pattern to match for success with type and patterncallbackPayload- Data to send to callback URL (supports a results templates)pollTime- Total time to poll (1m-12h, e.g., “5m”, “2h”)pollFrequency- How often to poll (5s, 10s, 20s, 30s, 1m, 3m, 5m)
- None
Response Format
The command returns:Examples
Basic Usage
result.output.text exists.
Website Crawling
Video Processing
Notes
Pattern Types:path- Checks if a JSON path exists (e.g., “result.status”)stringMatch- Checks if response contains specific text
- Use
{{results}}in callback payload to inject polling results - Use
{{results.path.to.data}}to inject specific data from results
- Poll Time: 1m to 12h (e.g., “5m”, “2h”, “30m”)
- Poll Frequency: 5s, 10s, 20s, 30s, 1m, 3m, 5m
- Automatically retries on network errors
- Stops on HTTP 4xx errors
- Sends error callback on timeout or failure

