viaSocket Help

Schedule Tasks with Cron

#

How to Set Up Your Scheduled Flow

#

Step 1: Create a New Flow and Select Cron as the Trigger

Open viaSocket and create a new flow. In the trigger panel, you'll see options for how your automation starts. Select Cron — described as "Runs flow at regular intervals."

cron1.png
#

Step 2: Set Your Schedule

Once Cron is selected, a configuration panel opens on the right.

  • Select your timezone from the dropdown (e.g., Asia/Kolkata +05:30).

  • In the prompt field, type your schedule in plain language — for example: Daily 2 pm except weekend and every month at last day

  • Click Set Cron to apply the schedule, or Get Data to preview the trigger output.

cron2.png

Note: The default timezone is set to your workspace timezone, but you can change it per workflow as needed.


#

Step 3: Add Your Workflow Actions

Once the schedule is set, your trigger card will show the configured schedule (e.g., "At 2:00 PM every day"). Click Add Step to choose what happens next.

You can use:

  • Built-In Tools — JS Code, API Call, Variable, Multiple Paths, Delay, Call AI Agent, and more.

  • Connected Apps — Any app you've connected to your viaSocket workspace.

cron3.webp
#

Advanced Configuration with Cron

With Cron, you can combine apps and built-in tools to handle complex scheduled tasks.

  • Apps let the workflow connect with external services at the scheduled time.

  • Built-in tools allow data processing, conditional logic, and smart automation on a schedule.

Example: In Google Sheets, use List All Rows to fetch all data. Then apply Multiple Paths (If Conditions) to process only the rows that match your criteria — automatically, every time the Cron runs.