Legacy workflows
Data pills in workflow actions
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.
You can "feed" the output of one action in a workflow into a later action, so you can complete many steps in one go. We call this output a data pill.
Outputs from earlier actions, such as app actions, HTTP requests, code and AI classification, are available to the actions that come after them.
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

-
Go to Automations > Workflow library.
-
Create a new workflow 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 a field to open Insert placeholder. The outputs of earlier actions are listed under Previous action outputs, and you can use them as placeholders in this action.