Skip to main content
Skip table of contents

Tutorial: Creating Your First Workflow

Overview

In this tutorial, you’ll walk through the steps required to set up a very simple workflow that contains two tasks.

  • A Task, built with a Template, that downloads a CSV file from a website

  • A Task, built with a Template, that emails the contents of the CSV file.

By the end of the tutorial, you will know how to:

  • Set up a Task with a Template

  • Connect Tasks together as part of a Workflow

  • Use a Task to access files created upstream (earlier in the workflow)

Steps

Step 1 - Accessing the Workflow Builder

  • Using the sidebar, select Workflows found beneath Actions, and click on New Workflow to begin building your new Workflow. 

Workflows.gif

Step 2 - Select Your First Task & Rename It

  1. Navigate down to the HTTP dropdown and click it. It will expand the Templates that are available to use for HTTP.

  2. Click the Template named Download File from URL. This creates a new Task and immediately opens the edit pane for that Task on the left side of the screen.

Add First Task - New Workflow.gif
  1. Next to the HTTP icon, click the pencil icon and remove the automatically generated name and type Download Slinky Dog Dash Ride Data.

Rename Task - New Workflow.gif

Step 3 - Fill Out Task Details

  1. In the File URL field type https://cdn.touringplans.com/datasets/slinky_dog.csv

  2. In the File Name field type slinky_dog_dash.csv

  3. In the Folder Name field type disney_world_wait_times

Step 4 - Select & Update Your Second Task

New Workflow (3).gif
  1. Go to the canvas by clicking “off” of (to the right of) the edit pane.

  2. + Add Task to add another Task to the Workflow.

  3. Search for email using the search bar at the top. Click on Send Message with File

  4. Next to the Email icon, click the pencil icon and remove the automatically generated name and type Send Slinky Dog Dash Data via Email.

  5. Fill out fields with the following values:

Name

Value

Send Method

TLS

SMTP Host

smtp.gmail.com

SMTP Port

587

Username

Leave blank and use the default

Password

Leave blank and use the default

Sender Address

Leave blank and use the default

Sender Name

TO

YOUR EMAIL HERE

CC

BCC

Subject

Slinky Dog Dash Wait Times

Message

Here’s the most recent wait times for Slinky Dog Dash!

File Name Match Type

Exact

File Name

slinky_dog_dash.csv

Folder Name

disney_world_wait_times

Include Shipyard Footer?

Step 5 - Connect Your Tasks Into a Workflow

  1. Click and drag from a circle on the Download Slinky Dog Dash Ride Data Task towards a circle on the Send Slinky Dog Dash Data via Email Task.

    1. This will connect the two Tasks, allowing one to be triggered by the other. Additionally, this allows files created upstream (Download Slinky Dog Dash Ride Data) to be accessed by the Task that lives downstream (Send Slinky Dog Dash Data via Email).

It is possible that the Tasks are stacked on top of each other or placed in a spot that is not visually pleasing. You can always drag Tasks by holding your left mouse click button on the Task and moving it wherever you would like.

Step 3 - Update Workflow Name

  1. Click on the pencil icon in the header and rename your Workflow to Download File from Webpage and Email to User.

  • Notice that the “Default” project is pre-selected.

  1. Click the Save & Finish button at the bottom. You should now see the following screen:

image-20250331-215928.png

Workflow Creation Success Screen

By default, every Workflow and every Task you create will send error notifications to your email. You can always update this as needed.

Step 4 - Running the Workflow On Demand & QA the Execution

  1. On the success page, click the Run your Workflow button.

  2. You’ll be redirected to a Workflow Log page as your Workflow runs. This page will refresh automatically as the Workflow runs. Wait until you see both Tasks as green bars, indicating that they completed successfully.

  3. Click on the Log ID or the bar graph for the Download Slinky Dog Dash Ride Data Task. Your Log ID will be different than the one shown below.

Click on a Log

  1. In the output, you should be able to see that the file was successfully downloaded and the size of the downloaded file.

    image-20250331-220305.png

Successful Log Output

  1. Go check your email. You should also see a message that contains the ride data.

Successful Email

:::tip success You’ve successfully created and verified a Workflow that shares files between two Tasks built with a Template! :::

A Workflow can always be run by clicking the Run Now button on the top right corner of the Workflow builder.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.