Actions7
Wait for Job Completion
AI-generatedOverview
This node operation waits for the completion of an upload job by polling its status until it either completes, fails, or times out. It is useful in scenarios where subsequent workflow steps depend on the successful completion of a video upload and social media posting job. For example, after initiating a video upload job, this operation can be used to pause the workflow until the job finishes, ensuring that the video is posted before continuing.
Use Case Examples
- Waiting for a video upload job to complete before sending a notification email.
- Polling the status of a social media post job to update a dashboard once the post is live.
Properties
| Name | Meaning |
|---|---|
| Job ID | The unique identifier of the upload job to wait for. |
| Maximum Wait Time (minutes) | Maximum time to wait for job completion before timing out (1-60 minutes). |
| Poll Interval (seconds) | How often to check job status (10-300 seconds). |
Output
JSON
status- The final status of the job after waiting (e.g., completed, failed).jobDetails- Detailed information about the job status and result after completion or failure.
Dependencies
- An API key credential for Auto Socials Post API
Troubleshooting
- If the job ID is incorrect or the job does not exist, the node will throw an error indicating the job was not found.
- If the maximum wait time is too short, the node may time out before the job completes; increase the maximum wait time if needed.
- If the poll interval is set too low, it may cause excessive API calls leading to rate limiting; set a reasonable poll interval between 10 and 300 seconds.
Links
- Auto Socials Post API - Wait for Job Completion - Official API documentation for the wait for job completion operation.