Actions7
Overview
This node operation waits for the completion of an upload job in the Auto Socials Post system. It continuously polls the job status at specified intervals until the job either completes successfully, fails, or a maximum wait time is reached. This is useful for workflows that depend on the completion of video upload and social media posting jobs before proceeding.
Use Case Examples
- Waiting for a video upload job to finish before triggering a notification or next workflow step.
- Polling a scheduled social media post job to confirm it has been posted before updating a database or sending a report.
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, between 1 and 60 minutes. |
| Poll Interval (seconds) | How often to check the job status, between 10 and 300 seconds. |
Output
JSON
status- The current status of the upload job after waiting (e.g., completed, failed).jobDetails- Detailed information about the upload job returned after completion or failure.
Dependencies
- Requires an API key credential for the Auto Socials Post API to authenticate requests.
Troubleshooting
- If the job ID is invalid or not found, the node will throw an error indicating the job could not be found.
- If the maximum wait time is too short, the node may time out before the job completes, resulting in a timeout error.
- Invalid poll interval values outside the allowed range (10-300 seconds) may cause unexpected behavior or errors.
- Errors from the API during polling are caught and rethrown with detailed messages to help diagnose issues.
Links
- Auto Socials Post API - Wait for Job Completion - Official API documentation for waiting on job completion.