Create an MQTT Trigger

Complete the steps below to create a trigger.

  1. Click Functions > Triggers.
  2. Click Add.


    Figure 1.
  3. In the New Event Trigger panel, enter the Trigger description and its parameters.


    Figure 2.
  4. Under Add Topic, enter the topic endpoint.


    Figure 3.

    This endpoint must be the same as the Event Trigger in Workers.

  5. In the Callback URL field, enter the callback URL to receive the trigger's information.
  6. Click Save.