Skip to main content

Getting started

In this guide you build and run a small automation, and learn the handful of terms you need along the way. Nothing in it needs an administrator to set anything up first. If you would rather describe what you want and let Esca build it, skip to Let Esca draft it for you.

Core concepts​

An automation is a trigger followed by steps, drawn top to bottom on a canvas. This is the one you build below:

The missing-deck check: an On Demand trigger, an Expression condition, and a Log step on each branch

Every card is a node. The lines between them set the order the steps run in.

TermWhat it means
AutomationWhat you build and run: a trigger followed by the steps it sets off.
NodeA card on the canvas. A node is a trigger, an action, a condition, or a loop, and you configure it through a form.
StepA node as it runs. Each run of an automation is made of steps, and each step has its own log and output.
TriggerThe node that starts a run. Every automation has exactly one: a content change, a schedule, a webhook, an event in a connected system, or a person pressing Run.
ActionA node that does work: edits content, calls a service, sends a message, writes to the log, or runs an AI agent.
ConditionA node with two outputs, true and false, that decides which path the run takes next.
LoopA pair of nodes, Loop and Loop End, that repeat the steps between them once for each item in a list.
VariableA value you insert into a field: data from an earlier step, or a named value you define once and reuse. A secret is a named value that is encrypted and kept out of the logs.
ConnectionA saved sign-in to another system, such as Slack or Jira, that any automation can use.
RunOne time an automation executes. Every run is recorded, step by step, on the Executions page.
Dry runA run in which nothing reaches a real system. A draft always runs this way.
WorkspaceThe space your team's automations, connections and settings live in.

Where you work​

Esca Automations opens in your browser as its own application, built on Brightspot. Its left navigation lists the workspace's pages; three are enough to start with:

  • Automations, the list of every automation, where you create one. New Automation, or an existing automation's name, opens the editor.
  • Build, where you describe an automation in a sentence and Esca drafts it.
  • Executions, every run of every automation.
The workspace's navigation: Automations, Build and Executions

The workspace tours the rest.

Build your first automation​

The automation is a missing-deck check. You give it a headline and, optionally, a deck (the line under a headline). It tells you whether the deck is missing. Small as it is, it uses what every later automation uses: a trigger that takes input, a condition that branches, a value passed into a later step, and a run you read afterwards.

To build the automation:

  1. On the Automations page, click New Automation. The editor opens on an empty canvas, with the Add node (+) button at its top right.

    A new automation: an empty canvas with the Add node button
  2. Click Add node (+), then select Trigger. The Add Trigger panel opens on the right.

    The Add Trigger panel: search, the type filter, and the triggers by group
  3. Select On Demand. The panel switches to the trigger's form.

    The On Demand trigger's form, just selected
  4. From the Payload list, select Custom Shape, then add two fields under Fields:

    1. Name headline, Type String, and select Required?.
    2. Name deck, Type String.

    Click Done. The trigger appears on the canvas as a card.

    The On Demand trigger's form: a Custom Shape payload with a required headline and a deck
  5. Hover over the line below the trigger and click the + (Insert node) that appears, then select Condition. In the panel, select Expression.

  6. In the Expression field, add a Unary Comparison. From the Operand list, pick deck under the trigger. From the Operator list, select Is Empty. Click Done. The card shows two outputs, true and false.

    The Expression form: a Unary Comparison testing whether deck is empty
  7. Hover over the true line and click +, then select Action and Log. In the Message field, type Needs a deck: , click Variable in the field's toolbar and pick headline under the trigger. Click Done.

  8. Do the same on the false line, with the message Ready: followed by headline.

    The Log form: a message of literal text followed by the trigger's headline
  9. (Optional) Click the automation's name in the toolbar and type Missing deck check.

  10. Click Save.

The flow now matches the one shown under Core concepts.

To run it:

  1. On the trigger card, click Run as Dry Run. A form opens with the two fields you declared.

  2. In headline, type Council approves new bridge. Leave deck empty. Click Run Automation.

    The run form: the headline filled in, the deck empty, and Run Automation

    The editor switches to the run's live view, as at the top of this page. Each step lights up as it runs, Running then Done, and the Log step on the false path is marked Skipped.

    The finished run: On Demand and the Expression done, the true branch's Log done, the false branch skipped
  3. Open the Steps tab above the canvas and click View Logs on the Log step. The line reads Needs a deck: Council approves new bridge.

  4. Run it again with a deck. This time the other branch runs.

The Steps view of a completed run: each step's status, timing, output and logs
note

A new automation is a draft, and a draft always runs as a dry run: nothing it does reaches a real system. A Log step writes to the run log either way, which is why this automation behaves the same before and after publishing.

Publish it​

Publishing is what lets an automation act for real, and what lets triggers start it on their own. This automation needs neither, so publishing it is optional. When you build one that sends an email or edits content, this is the step that matters.

Click Publish, read the confirmation, and click Publish again.

The publish confirmation over the editor: what publishing does, and Publish to confirm
tip

Publish and turned on are two different things. Publish makes this version the live one, and turns it on at the same time. The on/off switch in the side panel decides whether the trigger may start runs by itself; you can run any automation by hand whether it is on or off. See Published versus turned on.

Let Esca draft it for you​

Instead of assembling a flow by hand, describe it. On the Build page, type what should happen, for example "When an article is published, summarize it and post the summary to Slack", and click Send. Esca builds the flow in the editor while you watch. To change something, type the change in the Esca panel beside the canvas ("Post to the #newsroom channel instead"), and she edits the flow. Save it like any other automation.

The Build page: a description of the automation typed in, and the suggested templates

There is also a ready-made version of the smallest possible automation: the Log: Write a Message example on the Templates page is a one-node automation you can run right away.

Next steps​

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.