- A predefined OpenAPI schema for Shopify
- API key authentication
- The required Shopify store 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 nameShopify order status
DescriptionThis action lets you get status information from your orders and use it in your chatbot when customers ask for it.
BaseURL[YOUR SHOPIFY STORE URL]
Enter the URL of the Shopify store you want to connect.
Authentication
For Authorization Header, select API key. For Auth Type, select Bearer. TokenEnter your Shopify access token.
Extra headers
Add the following extra header: Header nameX-Shopify-Access-Token
Header valuebearer
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 Shopify schema into the Schema field:- Get a Single Product —
GET /products/{product_id}.json - Get a Single Order —
GET /orders.json
Example in Watermelon


