Activate custom actions (Power Automate flows)

You can activate external systems with a Activator rule by defining custom actions with Power Automate. Custom actions can be useful for:

  • Sending notifications using systems other than Teams and email.
  • Creating action items in ticketing systems.
  • Calling line-of-business apps.

To activate custom actions from your rules, first define a custom action by creating a Power Automate flow. Then, call your custom action from your Activator rule.

Create a custom action

A custom action is a reusable action that you can use in multiple rules within Activator items. Creating a custom action requires familiarity with Power Automate. However, once you create a custom action, other Activator users can use the action in any rule, without requiring any knowledge of Power Automate.

A custom action defines how to call a specific external system from a rule using a flow. It defines a set of input fields to pass from your rules to the flow, so that the flow calls the external system. For example, suppose you want to define a custom action that adds a task to Microsoft To Do. The input field for such an action might be Task name. This custom action would link to a flow that uses a Microsoft To Do connector to create the task on your behalf.

Name your action and add input fields

Open Activator and select a rule to display the Definition pane. Scroll down to Action > Type, and select New custom action.

Then, give your action a name such as Add a To Do task and define the input fields (such as Task name).

Screenshot of creating an Activator new custom action.

The next step is to define your flow in Power Automate. Select Copy to copy the connection string, then choose Open flow builder. Activator takes you to Power Automate so that you can define the flow.

Define your flow

The flow is prepopulated with an action for Activator.

Important

You must paste the connection string from the previous step into this action, as shown in the following screenshot. Select When an Activator rule is triggered and paste the connection string as shown in the following screenshot. Once you do so, add further steps to your flow as needed, and save the flow.

Screenshot of defining a flow for activator.

To learn more about Power Automate, see Power Automate.

Complete your custom action

After you save your flow, return to Activator. Upon successful saving of the flow, you see a confirmation box in Activator. At this point, your custom action is complete, and you may move on to the next step, calling your custom action from a rule.

Screenshot of custom action completion for activator.

Call your custom action from a rule

Once you create a custom action, it's available for use by all rules and users who have access to that Activator item. To call your custom action, from a rule, select Action > Type from the Definition pane, and select your custom action from the list:

Screenshot of calling a custom action for Activator.

You then see the input fields for your custom action. Fill them out as appropriate for your rule definition:

Screenshot of custom action input for activator.

When your rule activates, it calls your flow, sending it the values of the input fields that you defined.

You can also learn more about Microsoft Fabric: