Your built-in Support Skills can check information or make updates in systems you connect, such as a courier, warehouse, or order management system. Add an API endpoint to a skill’s Custom policy, then tell Rep AI when to use it.
This option is available with Expert Zone for Order status, Cancel order, Change order address, Modify order, Return/exchange, Subscriptions, and Damaged order.
Set up a connection
- In the Rep AI Console, go to AI Support → Support Skills and open the skill you want to configure.
- Select Custom policy. In API Endpoints, click + Add API Endpoint.
- Give the endpoint a clear name and description. Enter its public URL, choose GET, POST, or PUT, and add any required authentication or headers.
- If the URL needs a value from the conversation, put a named blank in its path or query, such as
https://api.example.com/track/{order_number}. Enter a sample value for each blank when you test the endpoint. - Click Test endpoint using test data. Testing sends a real request to the system you connected.
- In the policy box, refer to the endpoint by its exact name. Tell the AI when to call it, how to use the answer, and what to do if the call fails. Save your changes.
For example:
Ask for the shopper’s order number. Call Courier status with that number. Use the returned delivery status to answer the shopper. If the check fails, offer to connect the shopper with our support team.
For an endpoint that changes data, add instructions for when to ask the shopper to confirm. Test both a successful request and a failed request, then check the result in your own system.
You can add up to five endpoints per skill. Each skill has its own list. Switching a skill to Standard policy keeps its saved endpoints, but the skill will use them only when Custom policy is selected.
Troubleshooting
I don’t see API Endpoints. Check that the skill offers a Custom policy, that Custom policy is selected, and that your account has Expert Zone access.
The AI isn’t calling my endpoint. Check that the skill is on, the endpoint passes Test endpoint, and your policy uses its exact name. If the endpoint needs an order number or another value, tell the AI to collect it first.
The endpoint fails or times out. Confirm that its URL is publicly reachable and its credentials and method are current. Add a fallback step to your policy so the shopper can still get help.
I need the same connection in another skill. Add it to that skill’s API Endpoints list as well.