When to use this trigger
Use this trigger when the customer’s request in a conversation should start a workflow you have configured. For example, a wholesale enquiry can start an intake automation once the AI has collected the details your sales team needs. See the wholesale custom skill example. The custom skill in AI Studio describes when to act. The automation in bitCRM defines what happens next. Mentioning an automation does not create its steps or add new capabilities to it.Before you start
- Open Automation.
- Make sure you have an AI agent set up in AI Studio.
Add the AI Custom Event trigger
- Click Create new automation, or open an existing automation.
- Click Trigger and choose AI Custom Event.
- Enter a Trigger name (required). Use a name that says what the automation does, for example “Product interest detected”.
-
Click Save.

Build and activate the automation
-
Add the steps the automation should run after the trigger.

- Click Save automation.
-
In the Automation list, make sure the automation’s switch is on.

Connect the automation to your AI agent
- Go to AI Studio and open your AI agent.
-
Open the Skills tab and click Add skill.

-
Select Custom skill and click Add skill.

- Fill in the skill’s Name and Description.
-
In Instructions, describe when the AI agent should run the automation, and type @ to mention it. For example: “If the customer asks about or shows interest in red shoes, run @Product interest detected”.

Check the skill and automation
- In the Playground, choose a customer profile and send a message that matches your custom skill. Check that the AI asks for the required details and responds appropriately. Also try a message that should not match the skill.
- The Playground simulates the automation call, even when you select a customer. A reply saying the request was accepted is not evidence that the automation ran.
- To check actual execution, use a test customer on a connected channel handled by your AI agent. Make sure the customer has a valid phone number or email, then send the matching request.
- Check the automation’s configured outcome. For message steps, review the output in Livechat. An AI reply alone does not confirm that downstream steps completed.
The connected-channel test runs the real automation. Review its steps first and use test contact details so any messages or other actions reach the intended test recipient.
When the automation runs
The automation runs when the AI agent decides the situation in your custom skill has happened. It does not run when:- No active custom skill mentions the automation.
- The automation is inactive.
- The customer has no valid phone number or email.

