Create an MQTT Trigger
Complete the steps below to create a trigger.
- Click Functions > Triggers.
-
Click Add.
Figure 1. -
In the New Event Trigger panel, enter the Trigger
description and its parameters.
Figure 2. -
Under Add Topic, enter the topic endpoint.
Figure 3.This endpoint must be the same as the Event Trigger in Workers.
- In the Callback URL field, enter the callback URL to receive the trigger's information.
- Click Save.