Please enable JavaScript
@InvocableMethod annotation helps to invoke apex class and method from the Salesforce Agentforce Apex Action. @InvocableVariable annotation can be used to pass multiple parameters from the Salesforce Agent Action to the Apex Class. Blog Post: https://www.infallibletechie.com/2024/11/salesforce-agentforce-apex-agent-action.html