Action

On this page 7

An action is a single executable step that an automated workflow performs, such as creating a record, sending an email, calling an API or moving a file. In automation, actions are the part of a workflow that changes something in a system: a trigger starts the workflow, conditions decide which path it takes and actions carry out the work.

Every automation platform, from simple app connectors to enterprise orchestration and robotic process automation, is built around this model. Understanding how actions receive data, handle failure and interact with external systems is the basis for reliable, maintainable workflows.

How an action works within a workflow

An action takes inputs, performs an operation and produces outputs. Inputs come from the trigger payload, from earlier actions or from static configuration; outputs become available to later steps. This chaining of data is called data mapping.

ElementRoleExample
TriggerStarts a workflow run when an event occursA new form submission arrives
ConditionEvaluates data and chooses a pathOrder value is above 1,000
ActionPerforms an operation in a systemCreate an invoice in the accounting tool
Workflow stateRecords where a run is and what data it holdsWaiting for approval, step 3 of 5
Building blocks of a workflow

Internally, most actions are wrappers around an API call or a script. The platform authenticates with a stored connection, sends a request with the mapped inputs, waits for a response and parses the result into named fields. An action is considered complete only when the platform confirms success, which is the point where the workflow state advances.

Types of actions

Actions fall into a few functional categories. Knowing the category helps predict an action’s side effects and how it should be tested.

CategoryWhat it doesTypical examples
Create, read, update, deleteChanges or retrieves recordsAdd a CRM contact, update a ticket status
CommunicationSends messages to people or channelsEmail, chat message, SMS notification
Data transformationReshapes data without external effectFormat a date, parse JSON, compute a total
ControlInfluences the flow itselfDelay, loop over items, stop the run
Integration callCalls an arbitrary endpoint or serviceHTTP request, webhook, database query
Human taskPauses for a person to actApproval request, manual review
AI stepUses a model to classify, extract or draftSummarize an email, extract invoice fields
Common action categories

A key distinction is between actions with side effects and read-only or pure actions. Sending an email or charging a card cannot simply be repeated without consequences, while reading a record or formatting text can be retried freely.

Reliability: retries, idempotency and errors

Actions interact with external systems that can be slow, unavailable or rate-limited, so failure handling is part of every action’s design. The main tools are retries, timeouts, idempotency and error branches.

SettingTypical configurationPurpose
Retry policy3-5 attempts with exponential backoffRecovers from temporary outages
TimeoutSeconds to a few minutes per callPrevents runs from hanging indefinitely
Idempotency keyUnique identifier per intended operationPrevents duplicate effects on retry
Error branchAlternative path when an action failsNotifies people or compensates
Rate limitingRequests per second or per minuteRespects limits of the target system
Reliability settings for actions

Idempotency means that performing the same action twice has the same effect as performing it once. Because automation platforms usually guarantee at-least-once execution, a retried payment or record creation can produce duplicates unless the action checks for an existing result or passes an idempotency key to the target API.

In long workflows, a later failure may require undoing earlier actions. The usual approach is a compensating action, such as canceling a reservation that an earlier step created, because distributed systems rarely support a true rollback.

Designing good actions

Well-designed actions are small, single-purpose and observable. One action should do one thing, so that failures are easy to locate and steps can be reused across workflows.

  • Name actions by their effect, for example create support ticket, rather than by the tool used.
  • Validate inputs before calling external systems, so bad data fails early with a clear message.
  • Use least-privilege connections: each action’s credentials should allow only what it needs.
  • Log inputs, outputs and duration without storing secrets or unnecessary personal data.
  • Test with sandbox accounts before connecting actions to production systems.
  • Version shared actions so that changes do not silently break dependent workflows.

For actions that use AI models, the output is probabilistic rather than deterministic. Such steps should validate the model’s output against an expected format and route uncertain cases to a human review action.

Action compared with neighboring automation concepts

The word action is used slightly differently across platforms, where it may also be called a step, task, activity or node. The underlying concept is consistent: the unit of execution that does work.

An action differs from a trigger, which only listens and starts runs, and from a condition, which decides but does not change anything. A workflow is the ordered composition of all three, and automation is the broader practice of delegating such workflows to software. In robotic process automation, actions often simulate user interface operations such as clicks and keystrokes, which makes them more fragile than API-based actions when screens change.

Understanding it simply

In an automated process, an action is the part that actually does something. Something happens first, such as a new email arriving. Then the automation carries out one or more actions, such as saving the attachment, adding a row to a spreadsheet and sending a confirmation.

Think of a recipe. The trigger is deciding to cook, the conditions are checks like whether the oven is hot, and the actions are the steps you perform: chop, mix, bake. A good automation, like a good recipe, has clear steps that each do one thing well.

Applied in practice

A small accounting firm automates client onboarding. When a new client signs the engagement letter, the e-signature tool fires a trigger. The workflow then runs five actions in sequence: create the client record in the practice management system, create a shared folder, send a welcome email, create an onboarding task for the assigned accountant and post a notice in the team chat.

During the first month, the folder action occasionally fails because of a temporary storage outage, and a retry creates duplicate client records. The firm reorders the steps, adds a lookup that checks for an existing record by client tax number before creation and sets three retries with exponential backoff on the folder action.

Onboarding that previously took about 30 minutes of manual work per client now runs in under a minute, and duplicate records no longer appear. Failed runs send an alert to the office manager with the step name and error message.