> For the complete documentation index, see [llms.txt](https://docs.spara.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spara.com/agents/workflows/steps.md).

# Workflow Steps

**Steps** are the individual actions in a [Workflows](/agents/workflows.md). Each step executes in sequence: when one finishes, the next begins. Use **Wait** and **Time of Day** steps to control timing, and **Condition** steps to branch the logic.

<figure><img src="/files/2uJIiRtB82n39o7nUPDs" alt=""><figcaption><p>A workflow assembled from steps, with branching logic.</p></figcaption></figure>

| Step                                                       | What it does                                                                                   |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [Send Email Step](/agents/workflows/steps/send-email.md)   | Sends a personalized email to the lead or their assigned rep.                                  |
| [Send Text Step](/agents/workflows/steps/send-text.md)     | Sends an SMS to the lead's phone number.                                                       |
| [Call Phone Step](/agents/workflows/steps/call-phone.md)   | Uses the Phone capability to call the lead's phone number.                                     |
| [Notify Step](/agents/workflows/steps/notify.md)           | Sends a Slack or Microsoft Teams notification to your team.                                    |
| [Wait Step](/agents/workflows/steps/wait.md)               | Pauses execution for a set duration (up to 30 days).                                           |
| [Time of Day Step](/agents/workflows/steps/time-of-day.md) | Holds leads until a specific clock time is reached.                                            |
| [Condition Step](/agents/workflows/steps/condition.md)     | Branches workflow logic based on lead data.                                                    |
| [API Step](/agents/workflows/steps/api.md)                 | Makes an HTTP request to an external system and can extract data.                              |
| [Research Step](/agents/workflows/steps/research.md)       | Researches a lead or company with an AI prompt (with web search) and extracts structured data. |

{% hint style="warning" %}
If a step cannot execute (e.g., a **Call Phone** step for a lead with no phone number), the workflow skips it and continues to the next step.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.spara.com/agents/workflows/steps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
