Flow final actions
Look up what a Flow needs to work as a final action and what each setting does.
How final actions work is explained in How final actions work. Step-by-step instructions are in Create a Flow final action.
Flows you can use
Section titled “Flows you can use”The Flow must be an active Autolaunched Flow without a trigger. CAB reads the input variables of its active version: every variable marked as available for input with one of the types below. Other variables don’t appear.
Input variables
Section titled “Input variables”| Flow variable | In CAB | Value |
|---|---|---|
| Record collection of the audience object (Account, Contact or Lead) | Audience Results | The audience’s results, always. It can’t be changed. |
| Text | Text field | A default, changeable when the action runs |
| Number | Number field | Same |
| Date | Date field | Same |
| Date/Time | Date and time field | Same |
| Boolean | List with True and False | Same |
| Record (single) | Record search for the variable’s object | Same |
Other collections aren’t offered. In the last step of the setup, each variable has a switch, Include or Don’t include; only included variables reach the Flow. A variable without a label shows its API name.
The record collection contains the audience fields you chose in the setup; Id is always included. With large results, the Flow runs once per batch, each time with the next part of the results.
Settings of a final action
Section titled “Settings of a final action”These settings apply to Flow and Apex final actions alike. They’re set in CAB Settings → Configure → Automation → Configure Final Actions.
| Setting | Values | Notes |
|---|---|---|
| Final Action Name | Text; required | The name in the results menu and in schedules. |
| API Name | Text; required | Filled from the name when you leave the name field. Passed to Apex as actionApiName. |
| Metadata Type | Autolaunched Flow, Apex | Can’t be changed after saving. |
| Flow or Apex Class | An active Autolaunched Flow, or a class that implements a final action interface | Can’t be changed after saving. |
| Description | Rich text, up to 15,000 characters | Shown in the window before the action runs. |
| Success Message | Text, up to 255 characters | Under Show Advanced. Shown when a run finishes right away. |
| Custom Permission Name | API name of a custom permission, up to 85 characters | Under Show Advanced. Only users with that permission see the action. |
| Batch Size | Number; required; default 500 | Under Show Advanced. Up to this many results, the action runs right away; above, it runs in the background in batches of this size. |
| Audience Object | The audience objects | Under Select Audience Object. The action is offered only for audiences with this object. Can’t be changed after saving. |
| Fields | Fields of the audience object | Under Set Available Fields. The fields the logic reads; Id is always included. |
| Inputs | See Input variables; for Apex, inputs you create | Under Set Input Values. |
A new final action is active. In Configure Final Actions, you can deactivate, edit or delete it.

