Modify an Agent Action Integration Procedure
You can customize the prebuilt BSA agent action IPs to add your own business logic and data validation.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To modify Integration Procedures: | Omnistudio Admin |
For example, if you want your service reps to collect MICR (Magnetic Ink Character Recognition) numbers from a customer for a stop check payment request, you can add logic to make the MICR number mandatory and validate if the user input to MICR number is nine digits. Similarly, you can add conditional logic to check if the Check Number exists and validate if the user input to Check Number is six digits.
-
Create an Integration Procedure from an existing StopCheckPayment_CreateCase IP.
- From the Integration Procedure list view page, select and open the StopCheckPayment_CreateCase IP that you want to customise for your agent.
- Create a new version to add your custom validation logic. For example, StopCheckPayment_CreateCase - Version 1 in this case.
-
Create conditional blocks and response actions to handle
different validation scenarios and test to verify the customizations.
- CheckNumberMissing: A conditional block and response action to handle cases where the check number is missing.
- MICRMissing: A conditional block and response action to handle cases where the MICR is missing.
- MICRIsNotNineDigits: A conditional block and response action to validate if the MICR is not nine digits.
- CheckNumberIsNotSixDigits: A conditional block and response action to validate if the check number is not six digits.
-
Click Execute.
Verify that the JSON results are composed correctly according to the requirements.
- Click Configure Agentforce.
-
Define the input and output data for the Integration Procedure in JSON format, and then
click Verify Data.
The data structure is updated automatically.
- Input Data: accountid (String), accountName (String), financialAccountNum (String), financialAccountType (String), checkDate (Date), payee (String), amount (Integer), checkType (String), startingCheckNumber (String), endingCheckNumber (String), checkNumber (String), MICR (String).
- Output Data: apiResponse (Object), caseId (String), caseNumber (String), svcCatalogRequestId (String), error (String), MICRValidationResult (String), CheckNumberValidationResult (String).
- Click Save.
-
Activate the Integration Procedure.
You can test for new validations in the Agentforce Conversation Preview.
You’re now ready to use the enhanced version of Check Payment Cancellation subagent in your Agentforce conversations.
Did this article solve your issue?
Let us know so we can improve!

