You are here:
Build Agentforce Actions
Create flows or Apex actions that the Agentforce Service agent uses to resolve customer issues and update the fulfillment status of service campaigns.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Available in Enterprise, Performance, Unlimited, and Developer Editions with Foundations or Agentforce 1 Editions. Access to some standard agent actions requires additional add-on licenses. |
| Available in: LWR and Aura |
| User Permissions Needed | |
|---|---|
| To build and manage Service Agents: | Manage Agentforce Service Agents AND Manage AI Agents OR Customize Application |
| To write, edit, or deploy Apex code To create and EDIT Apex classes and Triggers. | Author Apex |
Make sure you’ve turned on Agentforce Service agent in Setup. For more information, see Agentforce Service Agent.
Actions define the skills of your agent. To complete the fulfillment process, you build custom actions that perform tasks like resetting a device or checking order status. To track the progress of these interactions accurately, include the out-of-the-box Update Service Campaign Member Progress invocable action at the end of your fulfillment logic. This action updates the proactive dashboard to show the campaign status for the end user.
- From Setup, in the Quick Find box, enter Flows and select Flows.
- Click New Flow and select Autolaunched Flow (No Trigger).
- Build your custom fulfillment logic, such as querying an Event DMO or updating a record, using the serviceCampaignId and serviceCampaignMemberId context variables.
- Add a New Action element to the end of your flow canvas and search for Update Service Campaign Member Progress.
-
Map the serviceCampaignId and the contactId
to the action parameters.
To find the correct contactId, read the value from the Service Campaign Member record associated with your session.
- Save your flow and enter a unique name.
- Click Activate.
- From Setup, in the Quick Find box, enter Agents and select Agentforce.
- Select your agent, select Actions, and then select Add Action to link your new flow to the agent library.
- Save your changes to make sure the agent can run the new fulfillment skill.
Did this article solve your issue?
Let us know so we can improve!

