Skip to main content

Workflow Triggers

Triggers are the events that start your workflows. Choose the right trigger to ensure your automations fire at exactly the right moment in your user’s journey.

How to Choose the Right Trigger

Contact Triggers

Events related to contact creation, updates, and list management.

Example: Welcome New Users

Gameplay Triggers

Events that fire during user interactions with your experiences.

Example: Lead Qualification Flow

Prize Triggers

Events related to prize awards and winner management.

Example: Winner Notification System

Card Triggers

Events related to card interactions and engagement.

Example: Interest Tracking

Loyalty Triggers

Events related to loyalty program activities.

Example: Tier Upgrade Celebration

Webhook Triggers

Events triggered by external systems sending data to your workflow’s webhook URL.

How webhook triggers work

When you select Webhook.Received as your trigger, Komo generates a unique webhook URL for your workflow. External systems can send HTTP POST requests to this URL to trigger the workflow. You can define a JSON schema for your expected webhook payload. This schema tells the workflow editor what fields to expect, so you can reference them in your workflow steps using Liquid template variables.

Using webhook data in workflow steps

Once you define a schema for your webhook payload, the fields become available as Liquid template variables under the webhook namespace. For example, if your webhook payload includes user_id and amount fields, you can reference them as:
  • {{ webhook.user_id }}
  • {{ webhook.amount }}
Nested fields use dot notation. For example, a payload with a nested address.city field can be referenced as {{ webhook.address.city }}.

Example: External purchase sync

Setting up a webhook trigger

  1. Create a new workflow and select Webhook.Received as the trigger event
  2. A unique webhook slug is generated for your workflow — this forms your webhook URL
  3. Optionally define a request schema using JSON Schema format to describe the expected payload structure
  4. Use the schema fields as Liquid variables in your workflow actions (e.g., email templates, contact updates, filters)

Advanced Trigger Strategies

1. Trigger Stacking

Use multiple related triggers for comprehensive coverage:

2. Qualification Layering

Combine broad triggers with specific filters:

3. Time-Based Follow-ups

Chain triggers for timed sequences:

Troubleshooting Triggers

Common Issues

Testing Tips

  1. Start with broad triggers - Use Gameplay.Action to see all events
  2. Add logging - Use webhook actions to log trigger data
  3. Test with real data - Use actual user interactions, not simulated events
  4. Monitor execution volume - Check Workflow Runs for unexpected patterns

Best Practices

✅ Do This

  • Be specific - Use qualified triggers when possible (DataCapturedQualified vs DataCaptured)
  • Add context filters - Narrow scope with contact properties or gameplay data
  • Plan for scale - Consider execution volume for broad triggers
  • Document trigger purpose - Name workflows clearly to indicate trigger intent

❌ Avoid This

  • Don’t use overly broad triggers without filters (Contact.PropertyUpdated without field specification)
  • Don’t stack identical triggers - Combine similar workflows instead
  • Don’t ignore data availability - Ensure required data exists when trigger fires
  • Don’t skip testing - Always verify triggers fire as expected

What’s Next?

Need help choosing the right trigger? Contact support at [email protected]