Creating an automation with agents

Written By Stanislas

Last updated 5 days ago

Create an automated workflow in minutes by configuring an agent to run on a schedule or trigger. This guide walks you through the Swiftask interface step-by-step to set up your first automation.


Overview

Creating an automation is straightforward: you select an agent, define what it should do, set when it should run, and save. The automation then executes automatically according to your schedule.

This guide focuses on the interface and exact stepsβ€”where to click, what to fill in, and what each field means.


Prerequisites

Before you create an automation, your agent must have:

  • Clear objectives and instructions – The agent must know exactly what task to perform

  • Necessary skills – If the agent needs to send emails, export files, or query databases, those skills must be configured

  • Knowledge base (if needed) – If the agent references documents or data, add those to the agent's knowledge base first

If your agent isn't ready yet, go back to the agent configuration and add these elements before creating the automation.


Step-by-step guide

Step 1: Open your agent

Navigate to the agent you want to automate.

  1. Click Agents in the left sidebar

  2. Find your agent in the list (use search if needed)

  3. Click the agent to open its detail page

You'll see the agent's profile page with configuration options on the left sidebar.

Screenshot: Agent profile page showing the left sidebar with agent sections

Step 2: Navigate to the Automations section

On the agent's profile page, look at the left sidebar under Automations.

  1. Click Automations in the left sidebar

  2. You'll see a list of any existing automations for this agent

  3. Click Create automation (the red button with a + icon)

The automation creation dialog opens immediately.

Step 3: Fill in the Title

In the Create automation dialog, the first field is Title.

What to do:

  1. Click the title input field

  2. Enter a clear, descriptive name for your automation

  3. Examples: "Daily Sales Report", "Customer Email Responder", "Weekly Team Status"

Why it matters: The title appears in your automations list and in logs. Make it specific so you know what this automation does at a glance.

Screenshot: Create automation dialog showing title field with example text

Step 4: Select the Responsible Agent

Below the title, you'll see Responsible Agent.

What to do:

  1. Click the agent dropdown (it shows the current agent by default)

  2. A list of all available agents appears

  3. Select the agent that will execute this automation

  4. Usually this is the agent you're already viewing, but you can choose a different one

What it means: This is the agent that will actually run the automation. It must have all the skills and knowledge it needs to complete the task.

Screenshot: Agent dropdown showing list of available agents to select from

Step 5: Write the Instruction

Below the agent selector, you'll see Instruction.

What to do:

  1. Click the instruction text area

  2. Write a clear prompt or instruction for the agent

  3. Be specific about what the agent should do

  4. Example: "Analyze the competitor's website daily and send a summary email to marketing@company.com"

What it means: This is the prompt that tells the agent what task to perform each time the automation runs. The more specific you are, the better the results.

Tips:

  • Start with an action verb: "Analyze...", "Generate...", "Send...", "Review..."

  • Include the source of data if applicable: "from the support inbox", "from the spreadsheet", "from the webhook"

  • Specify the output: "send an email", "export a PDF", "log to the database"

As shown in the image above, the instruction field accepts free text. You can write multiple sentences if needed.

Step 6: Choose the Automation Type

Scroll down to find Automation type.

Options:

  • Recurring Task – Runs on a schedule (daily, weekly, monthly, hourly)

  • One-Time Task – Runs once at a specific date and time

  • Manual Trigger (On Demand) – Runs only when you manually trigger it

What to do:

  1. Click the automation type dropdown

  2. Select one of the three options

  3. For this guide, we'll select Recurring Task

Screenshot: Automation type dropdown showing Recurring Task, One-Time Task, and Manual Trigger options

Step 7: Set the Frequency

Below automation type, you'll see Frequency (only appears if you selected "Recurring Task").

Options:

  • Every Hour – Runs every 60 minutes

  • Every Day – Runs once per day

  • Every Week – Runs once per week

  • Every Month – Runs once per month

What to do:

  1. Click the frequency dropdown

  2. Select how often you want the automation to run

  3. For this example, we'll select Every day

Screenshot: Frequency dropdown showing Every Hour, Every Day, Every Week, and Every Month

Step 8: Set the Time of Day

Below frequency, you'll see Time of Day (appears when frequency is set).

What to do:

  1. Click the time picker field

  2. A time picker popup appears with three sections: hour, minute, AM/PM

  3. Click the hour field and enter or select the hour (e.g., 10)

  4. Click the minute field and select the minutes (e.g., 00)

  5. Select AM or PM

  6. Click OK to confirm

What it means: This is the time (in your timezone) when the automation will run each day. If you select "Every Day" and set the time to 10:00 AM, the automation runs at 10 AM every day.

Screenshot: Time picker showing hour, minute, and AM/PM selectors with OK button

Step 9: Set the Timezone

Below time of day, you'll see Timezone.

What to do:

  1. Click the timezone dropdown

  2. A searchable list of timezones appears

  3. Search for your timezone (e.g., "London", "New York", "Dubai") or scroll to find it

  4. Click to select it

Examples:

  • Europe/London

  • America/New_York

  • Asia/Dubai

  • Australia/Sydney

What it means: The timezone ensures that "10:00 AM" means 10 AM in your location, not UTC. This is critical for scheduled automations to run at the right time.

Screenshot: Timezone dropdown showing searchable list of timezone options

Step 10: Configure Optional Settings (if needed)

Scroll down to see additional optional fields:

Repeat every
If you selected "Every Day", you can set it to repeat every 1, 2, 3, etc. days. Leave at 1 for daily execution.

Start Date (optional)
When should the automation start running? Leave blank to start immediately, or pick a future date.

End Date (optional)
When should the automation stop running? Leave blank to run indefinitely, or pick an end date.

Keep conversation history in the same thread
Toggle this on if you want the agent to remember previous automation runs and use that context for better responses. Useful for workflows where context matters.

As shown in the image below, these fields appear together in the complete form.

Screenshot: Complete create automation form showing all fields including repeat every, start/end dates, and conversation history toggle

Step 11: Save the Automation

Once all required fields are filled:

  1. Scroll to the bottom of the form

  2. Click the red Save automation button

  3. The dialog closes

  4. You're returned to the agent's Automations list

  5. Your new automation now appears in the list with status "Active"

The automation is now live and will execute according to your schedule.


Form field reference

Here's a quick reference for all fields in the create automation dialog:

Field

Required

Type

Example

Title

Yes

Text

"Daily Sales Report"

Responsible Agent

Yes

Dropdown

"SalesBot"

Instruction

Yes

Text area

"Pull sales data and email summary"

Automation type

Yes

Dropdown

"Recurring Task"

Frequency

Yes (if Recurring)

Dropdown

"Every Day"

Time of Day

Yes (if Recurring)

Time picker

"10:00 AM"

Timezone

Yes (if Recurring)

Dropdown

"Europe/London"

Repeat every

No

Number

"1" (for daily)

Start Date

No

Date picker

"2025-02-15"

End Date

No

Date picker

"2025-12-31"

Keep conversation history

No

Toggle

On/Off


What happens after you save

After clicking Save automation:

  1. Automation is created – It appears in your Automations list with status "Active"

  2. First run is scheduled – The automation is scheduled to run at your specified time

  3. Execution begins – At the scheduled time, the agent wakes up and executes the automation

  4. Logs are created – Each run is logged so you can see what happened

You can view execution logs and see the results of each automation run in the Automations section.


Common UI issues & quick fixes

"Save automation" button is grayed out

  • Check that all required fields are filled: Title, Agent, Instruction, Automation type, Frequency (if recurring), Time, and Timezone

  • Make sure the instruction field is not empty

Agent dropdown is empty

  • Make sure you have at least one agent created in your workspace

  • If the agent list is empty, go to Agents and create an agent first


Next steps

Once your automation is created:

  1. Review the results – Look at what the agent did (emails sent, files exported, etc.)

  2. Adjust if needed – If the results aren't right, edit the automation's instruction or agent configuration

  3. Create more automations – Once you see one working, set up additional automations for other tasks

To learn about monitoring execution history and debugging issues, see the related guides in the Automations & Triggers section.