{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-a-trigger","locale":"en","slug":"adding-a-trigger","path":"docs/en/tutorials/vtex-cx-platform/contacts/triggers/adding-a-trigger.md","branch":"main","content":"At this point, your chatbot is connected to a channel, but to automatically start a flow when the user interacts with the chatbot, you need to set up a trigger.\n\n## Creating a standard trigger\n\nIn this section, we will create a standard trigger that can be configured both in **Contacts** and in the flow:\n\n1. Click `Create Trigger`. A new window will open.\n2. Click **Create a keyword that starts a flow**.\n3. In the **Keyword** field, define the word that will act as the trigger:\n    - At this stage, avoid common names such as \"help\", \"hello\", and \"good afternoon\". Use \"test123\" or \"help123\". This way, if the user uses a common word in a message, the flow with this trigger will not start.\n4. Choose when the trigger fires:\n    - When the message starts with the keyword: the selected flow starts.\n    - If the phrase typed by the user starts with the keyword: the selected flow starts.\n    - If the message contains only the keyword: the selected flow runs an action if the user types **only** the single registered keyword.\n5. In **Flow**, define the flow to start.\n6. In **Groups to include**, apply this trigger's rules to a specific contact group.\n7. In **Groups to exclude**, exclude this trigger's rules from a specific contact group.\n8. Click the `Create Trigger` box.\n\n> If your Agent Builder is active, triggers will not work, because flows are started by the intelligent agent and not by triggers.\n\n## Creating triggers in an automation flow\n\n1. Click **Automation flow**.\n2. Select the flow, and then click the three-line menu.\n3. Click `Edit`.\n4. In **Global trigger keywords**, enter the trigger you want and click `Save changes`."}