Sendgrid
Use this Sendgrid plugin to integrate Sendgrid in your Comnoco project. All you need to do is import the Sendgrid OpenAPI Spec to Comnoco to get access to ready to use Logix functions.
Import OpenAPI Spec
In an Editor tab select Import OpenAPI Spec or cURL Command
form the Logix
menu. Give your new Logix file a Sendgrid and then copy and paste the URL below into the form. Import the spec and you have a new Logix file with all your Sendgrid functions available.
https://raw.githubusercontent.com/sendgrid/sendgrid-oai/main/oai_v3_stoplight.json
Once the Sendgrid functions have imported they will be available to use in add points in your files across your Workspace.
Receiving Webhook Notifications
To receive event notifications from Sendgrid, create a Webhook Trigger in Comnoco and point Sendgrid to the URL you get when you publish your webhook.
If you would like to enable Signature Verification on the webhooks, in your trigger, add an HMAC Validation
block underneath your Advanced Auth
block and set the parameters as follows:
Note you should save the
Verification Key
given to you by the SendgridEvent Webhook
as a secret in Comnoco and then select that secret from theHMAC Validation
parameters.