This is the Meridian Group Apps Portal, where you will create your API key and see your uploaded invoices in ClearLedger.
Hard Close - Hard
Resource Page Link
Control Room Link
This is the link to the control room you will be performing all hands on activities within.
https://aa-community.cloud.automationanywhere.digital/
Your session's build is in Bots/BAA/Hard Close/3_Hard_NewVendorNewProblem.
Action One: Create a Meridian Group API Key
Steps:
- Navigate to the Meridian Group Apps Portal.
- Create an account by entering any username and password.
- From the apps homepage, click ClearLedger to open the invoice portal.
- Navigate to Account Settings under Workflows, then API Keys.
- Enter a descriptive key name in the key name field and click Create Key.
- Copy the API key and store it somewhere safe.
- Download the zip file with the invoices from this link.
Action Two: Run the Process with a Sample Learning Instance
Before creating a private learning instance, we run the process using a public learning instance to see what the expected output may look like.
Steps:
- Navigate to BAA > Hard Close > 1_Easy_MatchGame > Easy_ClosingProcess.
- Click Run to start the process.
- In the UploadInvoice form, click Browse to choose one of the downloaded invoice files.
- In the API Key field, paste the API key generated in the app portal.
- In the Learning Instance field, enter:
PathfinderSummit_2026
Action Three: Modify the Fetch PO Details API Task
Create REST API Call
- Navigate to BAA > Hard Close > 3_Hard_NewVendorNewProblem > Tools > Fetch PO Details
- On the left side, in the Search Actions input field, enter:
REST Web Services Get method - Drag the REST Web Services: Get method to line 2, under the Try block.
- Click the REST Web Services: Get method to open the properties panel on the right.
- In the URI section, enter the following value in the Enter the URI field:
$CONFIGBaseURL$/$sPONumber$ - In the Header section, under Custom Headers, click on Add Header to open the Custom Header dialog box.
- In the Name field, enter:
X-API-Key - In the Value field, click on Insecure String and enter the following value in the input field:
$sAPIKey$ - Click on Add to add the custom header.
- Under Advanced Options, click on Capture Failure Response to enable it.
- Scroll down to the Assign the output to a variable section and click Dictionary.
- Click on the dropdown list and select dResponse as the output variable.
- Click Save to save your work.
Extract Recipient List from Response
- On the left side, in the Search Actions input field, enter:
String Assign - Drag the String: Assign action to line 3, under the REST Web Services action.
- In the Search Actions input field, enter:
String Extract Text - Drag the String: Extract Text action to line 4, under the String: Assign action.
- Click the String: Assign package to open the properties panel on the right.
- In the source string field, enter:
$dResponse{Body}$ - In the destination string field, select sResponse from the dropdown list.
- Click Save to save your work.
- Click Close to return to the Tools folder.
Action Four: Modify the Fetch GR Details API Task
Create REST API Call
- Navigate to BAA > Hard Close > 3_Hard_NewVendorNewProblem > Tools > Fetch GR Details
- On the left side, in the Search Actions input field, enter:
REST Web Services Get method - Drag the REST Web Services: Get method to line 2, under the Try block.
- Click the REST Web Services: Get method to open the properties panel on the right.
- In the URI section, enter the following value in the Enter the URI field:
$CONFIGBaseURL$/$sPONumber$ - In the Header section, under Custom Headers, click on Add Header to open the Custom Header dialog box.
- In the Name field, enter:
X-API-Key - In the Value field, click on Insecure String and enter the following value in the input field:
$sAPIKey$ - Click on Add to add the custom header.
- Scroll down to the Assign the output to a variable section and click Dictionary.
- Click on the dropdown list and select dResponse as the output variable.
- Click Save to save your work.
Extract Recipient List from Response
- On the left side, in the Search Actions input field, enter:
String Assign - Drag the String: Assign action to line 3, under the REST Web Services action.
- In the Search Actions input field, enter:
String Extract Text - Drag the String: Extract Text action to line 4, under the String: Assign action.
- Click the String: Assign package to open the properties panel on the right.
- In the source string field, enter:
$dResponse{Body}$ - In the destination string field, select sResponse from the dropdown list.
- On line 4, click the String: Extract Text action to open the properties panel on the right.
- In the Source String variable, enter:
$sResponse$ - In the Get characters section, select the Before and/or after radio button.
- Enter the following values in the following fields:
- Start after text (optional):
[ - Occurrence:
1 - End before text (optional):
] - Occurrence:
1
- Start after text (optional):
- Under Assign Output to variable, select sReceiptsList from the dropdown list.
- Click Save to save your work.
- Click Close to return to the Tools folder.
Action Five: Modify the AI Agent
Creating input and output variables
- Navigate to BAA > Hard Close > 3_Hard_NewVendorNewProblem > AI Agent.
- In the Prompt tab, navigate to the Input & Output tab.
- Click the + icon to create the following variables. For each variable, specify the properties as per the column names.
| Variable Name | Description | Use as input/output |
|---|---|---|
| | input |
| | input |
| | output |
Adding newly created tools
- In the Tools tab, click on Add Tool and select API Task from the dropdown menu.
- Click on Choose to open the Find an API Task dialog box.
- Click on Browse and navigate to BAA > Hard Close > 3_Hard_NewVendorNewProblem > Tools and select Fetch PO Details.
- Click on Choose to add it to the selection of tools available to the AI Agent.
- Repeat the same process for the Fetch GR Details API Task.
- Click Save and Close to return to the 3_Hard_NewVendorNewProblem folder.
Action Six: Run the Process
- Navigate to BAA > Hard Close > 3_Hard_NewVendorNewProblem > Hard_ClosingProcess
- Click Run to start the process.
- In the UploadInvoice form, click on Browse to choose one of the downloaded invoice files.
- In the API Key field, paste the generated API Key from the app portal.
- In the Learning Instance field, enter:
PathfinderSummit_2026 - Click Submit to submit the invoice for processing.
Notes
- Should your AI Agent fail to run for any reason, take the following steps to repeat the process
- Log in to Meridian Home Base and click on ClearLedger to view the status of the uploaded invoice.
- If the invoice doesn’t reflect in the portal, repeat the process from step 3.
- If the invoice reflects in the portal, navigate to Account Settings under the Workflows section in the menu on the left side.
- Click on Reset my Work from the left hand menu.
- Click on Reset my Work button and then once again to confirm reset.
Please Note: this method resets all your apps and removes any work history. Any invoices you’ve previously uploaded or email you’ve previously sent will be deleted.
- Click All Apps to go to the home page.
- Navigate to AuditTrail > Audit Log to view the decisions made by the AI Agent.
- Find an entry for the invoice number you had uploaded.
- Read through the steps taken, the supporting evidence and the reason behind action (marked in red)