SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I create an event rule from a signal?

Objective

This article helps you turn raw activity from your website or app into a named event, by creating an event rule that fires whenever a signal matches the conditions you set.

 

Product

Conversation Memory

 

Environment

Twilio Console

 

Procedure

  1. In the Twilio Console, select Data in the left sidebar.
  2. Select Conversation Memory, then Data sources.
  3. Select the source, then open Event builder and Signals.
  4. Find the signal you want to build on and select Create rule on its row. The Create event rule wizard opens.
  5. Enter the Event name, the name the event will be recorded under, for example Product Viewed — then select Next.
  6. On Triggering signals, define the condition: choose the Property to test, choose the comparison such as IS, enter the Value to match, and select Save.
  7. Select Next to reach the Review step.
  8. Select Preview to check the rule. The preview includes a SigQL Query tab showing the query your conditions produce, and a Complete rule matches tab for testing it against real signals.
  9. Select Save. An Event rule created successfully confirmation appears.

 

Additional Information

  • You can add more than one condition to a rule by repeating step 6.
  • Before saving, use Evaluate rule matches on the Complete rule matches tab to confirm the rule matches the activity you expect.
  • A new rule appears on the source's Event rules page, where you can enable, disable, edit, or delete it.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk