09-01-2025 09:44 AM
Hi @Ed Novak - Cisco Workflows TME ,
I´m watching the Micheal Keohane video series and in the last seconds in this video (https://www.youtube.com/watch?v=ILypflNf3KY&list=PL2tjR1lhWkskZOA6ZgshnNC0-UY460YXJ&index=8) he mentioned the next video would be using a webhook alert to trigger a workflow in Meraki Dashboard. Would you have a JSON with similar example to share, I will have a real case that it would be helpful? Thank you in advance.
09-01-2025 10:28 AM
Hello Marcio, thank you for your question. Here's an example workflow that can be triggered by a webhook. Notice that it has a single input variable, a string of type JSON. The first activity in a workflow triggered by a webhook should be to evaluate the body data received and then extract the variables from the JSON. Please note that for this example, I am not validating the body data received, I am just extracting the variables.
Once you have your workflow created, you create the webhook under the Automation -> Rules -> Webhooks. You only need to provide a name and description. Workflows will then generate the Webhook API Key and the Webhook URL for you. Then under Automation -> Rules -> Automation Rules, you create a new rule of type Webhook Rule. Select your webhook, then any conditions you would like to apply, and finally select your workflow and then map the Webhook Body to your workflow input variable.
You can use a curl command like this to test:
curl -X POST "<Workflows_Webhook_URL>" \
-H "Content-Type: application/json" \
-d '{
"key1": "This is a string",
"key2": "5",
"key3": "true"
}'
To import this example, you will need to change the file extension from .txt to .json
09-01-2025 10:30 AM
Thank you for the prompt answer Ed!
I will test and let you know.
09-19-2025 08:46 AM
Marcio, thank you very much for the bump reminder on posting that next video in the WebHook Series. I will get this posted ASAP.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide