---
title: "Create a workflow: with AI, from scratch, MCP or CLI"
description: "Create a Softr workflow by describing it to Softr AI, building it step by step in the editor, from Claude or ChatGPT through MCP, or with the Softr CLI."
canonical: "https://docs.softr.io/workflows/create"
updated: "2026-12-04"
---

# Create a workflow: with AI, from scratch, MCP or CLI

You can create a workflow in four ways. Each way creates the same workflow, which you then test, publish and change in the workflow editor.

## Create a workflow with AI

### Describe your workflow

On your dashboard, choose **Workflow** in the prompt box and describe the process. Say what starts it, what it does, and who it reaches:

**Lead routing**

When a new lead is added to the Leads table, categorize it as Small, Mid-market or Enterprise from its company size. Assign Enterprise leads to Sarah and the others to the sales team, then post a message in the #sales Slack channel.

In an open workflow, ask Softr AI for changes in the same way: "Add a step that emails the lead owner."

### Review the steps

Softr AI builds the trigger and the steps, and fills in their settings. Open each step to check it. When a step needs a service you have not connected, such as Slack, connect the account in the step.

![A workflow in the editor with the Categorize the request step open: the model, the text to categorize and the categories Billing, Technical and Sales](/workflows/create/step-settings.2x.webp)

## Create a workflow from scratch

1. Create a new workflow from your dashboard.
2. Choose the trigger. See [Triggers](/workflows/triggers).
3. Add steps with the **+** button, in the order they should run. See [Steps](/workflows/steps).

![The Select an action window that opens from the + button: categories such as AI, Communication, Data, Payments, Documents, Logic and Utilities, then the Softr and built-in steps and the steps of integrations such as ActiveCampaign, Airtable, Anthropic, Apollo and Asana](/workflows/create/add-step-picker.2x.webp)

4. Fill in each step's settings, using data from earlier steps. See [Map data between steps](/workflows/map-data).

## Create a workflow from Claude or ChatGPT (MCP)

Connect Claude, ChatGPT or Cursor to the Softr MCP server, then ask it to build the workflow. The assistant adds the steps one by one, tests them and can publish the workflow. You see the result in the workflow editor.

Set up the connection in [Softr MCP server overview](/mcp/overview) and [Connect Claude, ChatGPT or Cursor](/mcp/connect).

To move an automation from another tool, send the assistant a screenshot of it with a few notes. It rebuilds the automation as a workflow.

## Create a workflow from the Softr CLI

The Softr CLI pulls a workflow into files, lets you or a coding agent edit them, then pushes, tests and publishes the workflow. Install and log in with the [Softr CLI](/cli).

## Test and publish

1. Test the trigger, then each step. See [Test, runs and errors](/workflows/runs).
2. Publish the workflow. It runs on every trigger event from then on.

To start a workflow from a button or a form in your app, give it the **Run custom workflow** trigger and pin it to the app. Then ask Softr AI for the button or form that calls it. See [Automate workflows](/apps/automate-workflows#see-the-workflows-of-your-app). In a Classic app, set an action button to **Run custom workflow**.
