Set a Repeat Schedule
To automate your workflows, include the following JSON in the request body when launching a workflow:- “job_name”: The name of the job you want to launch.
- “repeat_option”: Specifies the repeat schedule:
- type: Options include minute, hour, day, week, or month.
- value: The interval, represented as an integer.
Delete a Repeat Schedule
If you no longer need a repeat schedule, you can delete it using the DELETE Remove Schedule API. Here’s how::job_name with the name of the job whose schedule you want to delete.
Which will give the following response:
Example: Using Repeat Options to Detect Accepted Connection Requests
Objective: Automatically check for accepted LinkedIn connection requests
every 3 hours.
Steps
- Trigger Workflow: Use the Extract LinkedIn Connections workflow on Captain Data.
- Set Repeat Options: Add the following JSON snippet to the workflow’s body:
Result
- The workflow will extract the most recent connections from the past 3 hours, with a maximum of 1,000 results per run, scheduled to repeat every 3 hours.
- You can detect and compare new LinkedIn connections with your leads.
- Once a connection request is accepted, you can enroll leads into the next campaign steps.
Advanced Example: Using the Repeat Option – LinkedIn Campaign Implementation Guide
Checkout this more in-depth Implementation Guide to Build LinkedIn
Campaigns for an advanced scheduling
example.