Triggers

Triggers allow our custom chatbot to perform actions on its own when triggered.

How to set it up:

  1. Click on the + icon next to Triggers

image.png

  1. Fill in the name of the trigger

image.png

  1. Choose your Trigger type. There are two types of triggers to choose from a Scheduled Trigger or an Event Trigger

image.png

A scheduled trigger performs an action at a specified time:

image.png

Event triggers trigger the task when an HTTPS request is sent to the webhook URL. For the setup of event triggers visit the developer websites: https://www.coze.com/docs/task.html

image.png

  1. Choose your task execution. There are three types of task executions Prompt, Plugin and Workflow

Prompt: Enter a prompt for the custom chatbot to perform a specific action. For example: Find the top 3 news on AI from this morning

image.png

Plugin: You can select any plugin from the list and call on the plugin at a specified time. For example, call on the Weather plugin to get the current weather at a specific location

image.png

Workflow: Call on a workflow to perform a custom action