The new Webhook Payload Templates feature is awesome!
But...
Can I change the formatting a little?
Does this work with my favorite messaging service?
Do you support custom authentication headers?
Instead of Meraki making these decisions and building one-off integrations, why not let the user take control?!
Now in Beta, you can create custom payload templates for webhooks to fit the JSON shape, markdown preference and authentication headers that fit your needs.
Custom Payload Templates - Documentation
Check out the Template Examples section to explore integrations and ideas for your next solution.
Also available in our GitHub repository
webhook-payload-templates
Use the Dashboard API to upload and edit your payload templates.
Postman Collection for just webhooks management
Assign payload templates using either the Dashboard or the API
What does a template look like?
A template is written in Liquid, which uses a familiar{{variable}} syntax for those of you who use Postman. The templates will be used to generate the webhook, where the variables and any special liquid syntax will be rendered. This gives you total control as to how you shape the JSON message.
Template - body.liquid
Result
Beta participants have access to this endpoint today, and we're excited to hear your feedback.
How do I join the beta?
If you'd like the join the beta, you can get started here.
When will these features be generally available?
The GA date is TBD but we look forward to sharing more information as we collect beta feedback.