Cert++
Close

Invoking Agentforce from Flow

Key Takeaway

A flow calls an Agentforce agent through an invocable action, and that action can run only on an asynchronous path. For most use cases, the recommended choice is a custom agent invocable action, which you configure with clicks in Flow Builder.

A flow can call an Agentforce agent through an invocable action. The agent can then do background or event-driven work, such as summarizing a case, without a person chatting with it. This gives your automation access to the agent's subagents, actions, and reasoning.

Which agents you can call, and where this is available

Invocable actions let a flow or an Apex class call an Agentforce Service agent, an Agentforce Employee agent, or Agentforce (Default). You can make these calls from anywhere you can invoke a flow or Apex class.

Calling an agent from a flow is available in Lightning Experience in these editions:

  • Enterprise Edition
  • Performance Edition
  • Unlimited Edition
  • Developer Edition

The required add-on licenses vary by agent type.

Starting June 17, 2025, Agentforce (Default) gets no new features and isn't available in new Salesforce environments. Salesforce recommends migrating to Agentforce Employee agent. Salesforce also recommends finishing that migration before any transition or license change, to avoid gaps in agent availability.

Platform App Builder Study Guide

Checklist progress

0/340Learned

Describe the capabilities and use cases for using Agentforce to automate business processes

0/10

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform App Builder studiers.