To learn more about the Chameleon Automations product, please read this article.Documentation Index
Fetch the complete documentation index at: https://developers.chameleon.io/llms.txt
Use this file to discover all available pages before exploring further.
Start an Automation (chmln.show())
Call chmln.show with the Chameleon ID of the Automation (part of the Automation URL, or copyable from the dashboard slideout).
Thekind: 'automation'option is required to distinguish Automations from Tours, which also usechmln.show.
Finding the Automation ID
- Open the Chameleon Dashboard.
- Navigate to the Automation you want to trigger.
- Copy the ID from the URL (e.g.,
https://app.chameleon.io/automations/AUTOMATION_ID) or use the “Copy ID” option in the dashboard slideout.
Options
You can pass additional options as the second argument:| Option | Default | Description |
|---|---|---|
kind | - | Required. Must be 'automation' to start an Automation. |
use_segmentation | false | Whether to apply the Audience (Segmentation) before starting. If true, the Automation only starts if the user matches the configured Segment. |
once | false | Whether to check if the user has already seen this Automation. If true, it will not show again for users who have already completed it. |
Examples
Start an Automation immediately for the current user:- Show a Tour — trigger Tours via JavaScript
- Show a Demo — trigger Demos via JavaScript
- Deliveries API — trigger Experiences via REST API (server-side)

