Use JSON Generator to create a JSON Data Structure and make an HTTP request using an API Key (SendGrid example)


Use the JSON Generator in the 'Create JSON' module to automatically add a data structure using a sample JSON. Learn how to modify it and make an HTTP request using an API key to connect to a third-party service. In this tutorial, we have used SendGrid and have shown how to do the following:

  1. Connect to SendGrid over HTTP
  2. Send an email using SendGrid directly from the HTTP module on Integromat
  3. Send an email using a template on SendGrid

Pertinent points to note:

  • SendGrid's authentication takes place using an API Key and hence why we use the 'Make a request' HTTP module on Integromat. 


  • To send an email directly from the HTTP module, you need to add the 'content' Parameter to your JSON data structure. As you can see below, 'content' is an array of collections; 'type' and 'value' are where you need to define the content type and the actual content respectively. Also, it is a required parameter and will result in an error if left blank. 


  • To send an email using a template, you need to add the 'template_id' parameter. As you can see in the image below, 'template_id' is a simple string and is an optional parameter and hence why it can be left blank. 

Video Tutorial: 


Here's the link to the template used in this scenario and you can refer to the SendGrid API Docs here.

Please note that Integromat only supports V3 of the SendGrid API. 


Popular use cases from our blog


Slack Automation: 20 Free Templates to Get You Inspired


Google Sheets Automation for Ecommerce: 23 Free Templates


How to Get Someone's Tweets Before Anyone Else Does


How to Automate Employee Onboarding in Minutes with Integromat


How to Auto Send Shopify Orders to Dropshipping Suppliers [Guide]


Like a Champ: How to Save Strava Activities to Google Sheets

Didn’t find what you were looking for?


Create a ticket

Contact our world-class support team and tell us what’s happening.

Create a ticket

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.