- A predefined OpenAPI schema for Returnless
- API key authentication
- The required Returnless API BaseURL
- A health check configuration
Set up the action
- Go to Actions in Watermelon.
- In the Actions catalog, click Custom action.
- Click Create new Action.
- Fill in the fields below.
General details
Action nameReturnless order status
DescriptionThis action lets you get status information from your orders and use it in your chatbot when customers ask for it.
BaseURLhttps://api-v2.returnless.com/2023-01
Authentication
For Authorization Header, select API key. For Auth Type, select Bearer. TokenYOUR-API-KEY
Replace this with your Returnless API key.
Health check
Health check URLhttps://www.yourdomain.com/health_check
Replace this URL with the health check endpoint you want Watermelon to use.
Instruction
You should respond with the following message or a similar variation: Sorry, something went wrong on our end. Can I assist you with anything else? Please let me know how I can help.
Schema
Paste the Returnless schema into the Schema field:Example in Watermelon


