{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-a-trigger","locale":"en","slug":"adding-a-trigger","path":"docs/en/tutorials/vtex-cx-platform/studio/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. To create it, go to the Triggers Menu within the \"Studio\" module and click on \"Create Trigger.\"\n\nIn this section, we will create a standard trigger that can be configured in both the studio module and the flow.\n\n- Click on \"Create Trigger.\" A new window will open\n\n- Click the button \"Create a message keyword that launches a flow.\"\n\n- In the keyword space, you will define the word that will act as a trigger.Avoid using common words like: help, hello, good afternoon. Instead, use: test123, help123. This ensures that if the user uses any common word in a message, the flow with this trigger won't be activated.\n\n- In the trigger, you can choose to activate when:- The message starts with the keyword – If the phrase typed by the user starts with the keyword, the selected flow will be triggered.\n\n- The message contains only the keyword – The selected flow will execute an action if the user types only the single registered keyword.\n\n- In \"Flow,\" you define the flow to be started.\n\n- In \"Only Groups,\" you can choose to include or exclude the rules of this trigger for a specific group of contacts. Leave the field blank if you want to apply this rule to everyone.\n\n- Click on \"Create Trigger\" box.\n\nIn \"Groups to Exclude\": you can prevent people from certain groups from entering this flow.\nIf your Agent Builder is active, the triggers **WILL NOT** work, as the flows are activated by the intelligent agent and not by triggers.\n\n## Creating triggers in a flow\n\n- Click on \"Flows\" choose your flow, and open it.\n\n- Within the flow, click on the three-line menu and select \"Edit.\" A new window will open.\n\n- In \"Global Keywords,\" type the trigger word and click \"Save Changes.\""}