PosiPay with Agentforce: User Guide
This guide will walk you through the steps to create an Agent Action in Salesforce, link it to a method within PosiPay, and use that Agent Action for an agent.
Prerequisites
Salesforce Setup Access: Ensure you have administrative privileges to configure Agent Actions.
PosiPay with Agentforce: Ensure the app is installed.
Step 1: Create an Agent Action
Navigate to Setup and search for Agent Actions in the Quick Find box.
Click New Action.
Select Apex as the Reference Action Type.
Select Get Settlements by Status as the Reference Action.
Fill in the following required fields:
Action Name: Provide a descriptive name for your action (e.g.,
Fetch Account Details
).API Name: The system-generated name for the action.
Action Type: Select Apex Method.
Apex Class: Select the managed Apex class from the dropdown.
Apex Method: Choose the appropriate method from the selected class.
(Optional) Add input parameters if the method requires them.
Click Save.
Step 2: Create your Agent
Navigate to Setup and search for Agent in the Quick Find box.
Click New Agent.
Select Agentforce Service Agent as the Type.
Add necessary topics to your agent as you prefer.
Setup all required fields as you prefer.
(Optional) Add Data Library.
Click Create.