Skip to main content

In https://trailhead.salesforce.com/content/learn/projects/connect-data-cloud-to-copilot-and-prompt-builder/enhance-copilot-to-act-on-data-with-conversational-language

challenge, an agentforce action takes input using flow ut in flow the contactrecordid vairiale doesnt have id assigned to it, so how is agentofrce action required input checked taking record id? 

 

#Trailhead Challenges

1 risposta
  1. 21 dic 2025, 19:33

    Hey hi @Namburu Abhiram

    ,  

    Agentforce actions automatically take input because of

    two configurations we define:

    1. Input variables in the action
      • While creating the action, we define input variables in the flow.
      • These inputs are mandatory for executing the action, so Agentforce automatically looks for and passes the required data.
    2. Topic configuration and instructions
      • We configure a Topic where one agent action can pass data to another agent action.
      • The topic instructions clearly guide the agent on which action to run and what data to pass next.

    Example Topic Instruction

    This is how Agentforce understands the flow and automatically manages inputs between actions. 

     

    Hope it helps you!

0/9000