Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

How to get started with SendGrid in Qlik Application Automation

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
hervebiey
Support
Support

How to get started with SendGrid in Qlik Application Automation

Last Update:

Jul 18, 2023 7:09:48 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 17, 2021 6:40:53 AM

This article provides an overview of the available blocks in the SendGrid connector in Qlik Application Automation. It will also review basic examples of creating an email, adding a contact, and using a Raw API Request block.

Fore more detailed SendGrid articles, see:

How to authenticate with SendGrid in Qlik Application Automation 
How to send email attachments using SendGrid with Qlik Application Automation 
How to use dynamic templates to send SendGrid emails with Qlik Application Automation 

Content:

 

Creating an email

Let’s start with the example of a simple email.

After creating an automation:

  1. From the left menu, select the "SendGrid" connector.
  2. Drag and drop the "Send Email" block and fill in the necessary fields.

    SendGrid.png

  3. Click on "Run" to send the email.

    Send email.png

Adding a contact

To add a contact to your SendGrid account:

  1. From the left menu, select the "SendGrid" connector.
  2. Drag and drop the "Upsert Contact" block and fill in the necessary fields.

    Upsert Contact.png

  3. Click on "Run". 

    Run the automation.png

 

Using a Raw API Request block

This example shows how to create a Raw API Request to get the amount of contacts in a specific contact list.

The SendGrid documentation for this can be found here.

In this case the URL path is "/marketing/lists/{id}/contacts/count". Notice that part of the path is before the ID and the other part after it.

  1. From the left menu, select the "SendGrid" connector.
  2. Drag and drop the "Raw API Get Request" block.
  3. Select the "Method". Here we will select "GET".
  4. Fill in the "Path Pre ID". This is the part of the path that comes before the ID (without the leading and trailing forward slash). In our case this is "marketing/lists".
  5. Fill in the "ID" of the list. You can eventually use the "List Contact Lists" block to retrieve this ID.
  6. Fill in the "Path Post ID". This is the part of the part that comes after the ID (without the leading forward slash). This field is optional because not all endpoints require this, but in this case it should be filled in, and it's "contacts/count".
  7. Click "Run".

    Raw API Request.png

 

 

Labels (2)
Version history
Last update:
‎2023-07-18 07:09 AM
Updated by: