Generic Webhook
Webhooks are automated messages sent from applications when something happens. They have a message, or payload, and are sent to a unique URL.
Overview
Webhooks are a simple mechanism and nearly every service can integrate with Fylamynt by calling webhooks.
When creating a workflow, Fylamynt provides a generic webhook trigger node that can be called by any external application in order to automatically run the workflow.
Use Cases
The webhook integration in a Fylamynt workflow lets you:
Trigger the execution of a workflow, after validating the webhook input.
Configure Generic Webhook in Fylamynt
Details needed to set up a Generic webhook in Fylamynt:
Instructions to setup a Webhook trigger
The Webhook trigger is not configured in the same way as other Fylamynt integrations. Every application handles webhook configuration differently, so please follow the instruction provided by your application to configure a webhook. As an example, we are making use of Squadcast's outgoing webhook to trigger a workflow.
In Fylamynt, create an API Key resource:
Navigate to Settings -> Resources -> API Keys
Click Add New
Enter the name for the API Key and click Save
Create a new workflow:
On the workflow page, select New Workflow
Enter the name of the Workflow.
Select the Webhook trigger type.
Click Create Workflow
In the Workflow editor, select the Webhook node
The Action Configuration Panel will show on the right-hand side of the canvas.
Here you will find all the information necessary to create the webhook in your application.
From the dropdown box, select the API Key resource created earlier.
Once selected the API Key value is displayed.
Now turn your attention to your application, in this example use case, Squadcast to configure the outgoing webhook with the information provided in the Action Configuration Panel.
Login to Squadcast
Navigate to Settings -> Webhooks
Click Configure New
Enter a name for the webhook.
Click Create
From Fylamynt's Action configuration panel, copy the provided URL and paste it in URL section, leaving the default as POST.
Under additional headers, enter x-api-key as the key name
From Fylamynt's Action configuration panel, copy the Webhook API Key value and paste it in the value field of the 'x-api-key' key name
Click Update
Whenever a Squadcast incident is created, the newly create Fylamynt workflow will be triggered.
Integration Actions
You can add the following actions in the Fylamynt workflow builder, as part of your workflow.
Webhook Trigger
When creating a workflow, you are presented with a wizard to select the trigger type to use.
On the workflow page, select New Workflow
Enter the name of the Workflow.
Select the Webhook trigger type.
Click Create Workflow
The webhook trigger does not require an Incident Type or assignment to be configured for the workflow to run automatically.
Last updated