> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://support.atomicwork.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://support.atomicwork.com/_mcp/server.

# Data pills in workflow actions

> **Note**
>
> This page applies only to legacy workflows, which were built earlier in the classic builder and are marked with the legacy workflow icon. It doesn't apply to workflows built with AI Assist. For those, see [Build workflows with AI Assist](https://support.atomicwork.com/documentation/enterprise-workflows/get-started/build-workflows-with-ai-assist).

As anyone who has tried to automate a workflow will tell you, the really tough part is chaining actions so that the actions performed by different workflows (aka the "output") trigger and feed into other workflows.

We've added the capability to "feed" the output of one Azure action in a workflow to another so you can complete many steps in one go. We call this output a **data pill**.

This is currently available only for Azure AD and webhook actions. We're working on making this available across all of our workflow actions.

For example, let's say you're setting up a workflow to automate new hire onboarding.

* The HR team will log a request.

* A workflow to take the data in this request and automatically create a new Azure AD account for them *(an action)*

* You can use the data pill from the previous action to add them to the relevant Azure AD groups so they can access all the tools they need. This way, the second action only works when the first workflow action succeeds, so only the right data is added.

## How to setup input-output actions

![Screenshot 2024-02-06 at 7.09.13 PM](/_fern-files/_img/01bceafdfdbd8acf7ee80221af876ca4ff273a21bce7d56c5637f371b4f1b60d.webp)

* Go to **Automations > Workflow library**. Select a workspace for request, incident and change workflows, or select **Organization** for asset, user and directory object workflows.

* [Create a new workflow](https://support.atomicwork.com/documentation/enterprise-workflows/get-started/workflows-101) or click the workflow you want to edit.

* Click **Add action**.

* Set up an Azure AD action.

* When you set up the next action, click **Insert data** to see the output of the previous action that you can use as a placeholder in this action.
  ​
  ​