Skip to content

Build your first workflow

Automation is how BaseCloud does routine work for you: something happens, and a workflow carries out the next steps. This page explains the ideas, then builds a first workflow from start to finish.

New to BaseCloud altogether? Start with Getting started.

Key concepts

Workflows

A workflow is a series of connected tasks that execute in sequence. Each workflow starts with a trigger task and can include multiple action tasks and logic tasks.

A BaseCloud workflow on the canvas: a Webhook In trigger connects to Match to Client, then an If Statement whose true branch runs an Email task and whose false branch runs a Webhook Out task

graph LR
    A[Trigger<br/>Webhook In] --> B[Action<br/>Create Customer]
    B --> C[Action<br/>Send Email]
    C --> D[Action<br/>Update CRM]

Tasks

Tasks are the building blocks of workflows. There are four types:

Type Purpose Examples
Trigger Starts the workflow Webhook In, Timer Trigger, Website Form
Action Performs an operation Email, Webhook Out, SMS
Logic Controls flow If Statement, Delay, Loop
Data Transforms data Text Formatter, Regex, Coalesce

Channels

Channels are your workflow containers. Think of them as projects or folders that organize related workflows.

Your first workflow

Let's build a simple workflow that receives webhook data and sends an email.

Step 1: Create a Workflow

  1. Navigate to Workflows in the sidebar
  2. Click Create New Workflow
  3. Give it a name: "My First Workflow"
  4. Select or create a channel

Step 2: Add Webhook Trigger

  1. Click Add Task
  2. Select Webhook In from Trigger Tasks
  3. Give it a name: "Receive Data"
  4. Copy the Test URL (we'll use this later)

Step 3: Add Email Task

  1. Click Add Task below the Webhook In task
  2. Select Email from Action Tasks
  3. Configure the email:
  4. To: your.email@example.com
  5. Subject: New webhook received
  6. Body: Received data: {{task_WEBHOOK_customer_name}}

Step 4: Test Your Workflow

  1. Click Save Workflow
  2. Open Postman or use cURL
  3. Send a test request:
curl -X POST \
  YOUR_TEST_URL_HERE \
  -H 'Content-Type: application/json' \
  -d '{
    "customer_name": "John Doe",
    "email": "john@example.com"
  }'
  1. Check your email inbox!

Understanding Variables

Variables let you pass data between tasks. They use this format:

{{task_TASKID_fieldname}}

Examples:

  • {{task_46055_customer_name}} - Access the customer_name field
  • {{task_46055_run}} - Check if task ran successfully
  • {{$now}} - Current timestamp

Common Patterns

Pattern 1: Webhook → Email

Receive data via webhook and send an email notification.

Webhook In → Email

Pattern 2: Webhook → Process → Notify

Receive data, process it, then notify multiple people.

Webhook In → Webhook Out → Email → SMS

Pattern 3: Conditional Logic

Take different actions based on data.

Webhook In → If Statement → (Email OR SMS)

Next Steps

Now that you understand the basics:

  1. Explore Tasks - Learn about all available tasks
  2. View Examples - See real-world workflows

Need Help?


Ready to build?

You now have the knowledge to create your first automation workflow. Start building and explore the platform!