Using Variables and Expressions in Webhook Payloads
Last updated: May 23, 2025
Available Variables
When configuring webhook payloads, you can insert dynamic values using variables in double curly brackets like {{ }}. To see the complete list of available variables, start typing {{ in the webhook payload editor and a dropdown menu will appear showing all available options.
Webhook Payload Limitations
The webhook payload structure is static, meaning you cannot include conditional expressions or logic (like if/else statements) directly within the variable brackets. If you need to add conditional logic to your webhook data, you'll need to:
Send the webhook to an intermediate service that can process the data
Apply your business logic in that service
Forward the processed data to your final destination
Alternative: Using Trigger Filters
For simpler conditional cases, you can use trigger filters instead of trying to add logic to the webhook payload. For example, if you only want to send webhooks for specific ticket forms, set up a filter in step 2 of the trigger configuration to match your criteria.
Tip: When integrating with external project management tools, using trigger filters can help ensure you're only sending relevant data to your endpoint.