Find it in your dashboard under Chatbot → Actions.
Examples
- Give a discount code when a customer asks for one.
- Look up an order by email and order number.
- Send a callback request to your CRM or Slack.
- Check if something is in stock in your warehouse system.
- Cancel or change an order.
- Add the customer to your newsletter list (Klaviyo, Mailchimp, etc).
How it works
- You set up the action in the dashboard: a name, a description, and the info the AI should collect (for example, the customer’s email or an order number).
- The AI decides when to use the action based on the description you wrote.
- Molin calls your endpoint with that info.
- Your endpoint sends back a short answer.
- The AI uses the answer to reply to the customer.
Setup
See the Custom Actions API reference for the full request/response spec, security headers, and code examples.Best practices
- One action, one job. Set up a separate action for each task instead of one big one that does everything.
- Send back short, clear text from your endpoint. The AI will turn it into a reply to the customer.
- Don’t send sensitive info back. The customer might see it in the answer.
- Test it in the chat preview before turning it on for real customers.