Skip to main content

Create a Scheduled Workflow with AI

Describe a scheduled workflow with AI Builder, check its schedule and actions, and test it before enabling recurring runs.

Use Create with AI to draft a workflow that runs on a schedule. This example emails owners of overdue tasks every Monday.

How to Create a Scheduled Workflow with AI

Identify the source list, the records to process, and the action to take before starting.

Step 1: Open Create with AI

Open the application and select + Add Component. In New application resource → Create with AI, choose Scheduled workflow.

Step 2: Describe Your Workflow Requirements

Enter the schedule, source, conditions, and what each action should do. Then select Start with AI.

Run every Monday at 9:00 a.m. Singapore time. Query the Project Tasks data list for records where Status is Pending and Due Date is before today. Send one email per matching task to its owner with the task name and due date. When the query returns no matches, end the run without sending an email.

Step 3: Review the AI-Generated Workflow

Review the implementation plan, including the schedule, source, conditions, and recipients. Ask for corrections before confirming it. Open the generated workflow and check each branch. In the example below, Query Data leads either to Send Email or directly to the end of the workflow.

Scheduled workflow example. Query Data finds matching pending tasks. With matches, Send Email notifies the task owner. With no matches, the workflow ends without sending email.

Step 4: Configure and Customize the Workflow

In Workflow Designer, check the data mappings, date and status filters, recipients, and email content. Check the schedule and time zone in the workflow settings. Manage scheduled workflows

Step 5: Test and Enable the Scheduled Workflow

  1. Use test records and recipients. If available, select Start manually to run the workflow without waiting for the schedule.

  2. Test two overdue pending tasks with different owners and one completed or future task. Verify that only the two matching tasks generate an email and that each goes to its own test recipient. Test an empty result and confirm that no email is sent.

  3. When the behavior matches your rules, publish or enable the workflow through its normal controls. Check the next run time for the selected time zone.


Tips for Writing Effective Prompts

Use the exact source and field names. Specify the recurrence, time zone, record conditions, recipients, expected output, and behavior for an empty query.

Did this answer your question?