Instant Trigger
Guide for setting up Integromat Instant Trigger
Last updated
Guide for setting up Integromat Instant Trigger
Last updated
By setting Instant Trigger, it allows Integromat scenario to receive generated image immediately.
Stencil supports this feature out of the box and setting it up requires minimal effort. For now Instant Trigger support is scoped per template.
Integromat's Instant Triggers execute the flow immediately after the remote server sends data. It is powered by webhooks.
Instant Trigger's webhook URL
A working template in Stencil
This approach scopes the Instant Trigger on template level. That means all images generated from this template will trigger Integromat Instant Trigger.
In your scenario editor, select Image Generated trigger from the list of available modules. This allows Integromat to listen for data coming from Stencil.
Instant Trigger must be the first module in scenario
Add a new webhook or use existing webhook based on your need. Then copy the given webhook URL.
Go back to Stencil's webapp, select the template that you want to integrate with Integromat.
Then, go to its console and select Integromat under the Integrations tab.
Paste the webhook URL from the previous step to the input box. Make sure your save your changes.
Congratulations! You have successfully set up your Integromat Instant Trigger. We've told you that it's going to be easy.
For testing purpose, I've setup my scenario to look like this. The trigger is linked to a Get multiple variables
module (Integromat's tools module) and will capture two variables from the output of the trigger.
Once you've got that set up, run the scenario and it will start listening for data.
Go to your template's Console page that is linked to the trigger. Use the Test API tool to send a request to generate image.
If image is generated successfully, you should see similar output in your trigger module.
The other approach to trigger instant trigger is by setting the webhook_url
field with Integromat's Dedicated Instant Trigger webhook URL when generating the image.
The downside of this approach is that you would have to set this each time you generate the image.