Qlik Community

Knowledge

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Support Case Portal has moved to Qlik Community! Read the FAQs to start exploring Support resources.

How to get started with Raw API Requests in automations

hervebiey
Support
Support

How to get started with Raw API Requests in automations

The connectors on Qlik Automation already have a ton of endpoints that can be used in various ways, but there might be instances when a connector does not have a particular functionality that is available through the API of the provider. That is where Raw API Request block come into play.

This article outlines the use of Raw API Requests and gives a few examples using different connectors.

SendGrid Raw API Request:

For this example we will be creating a SendGrid Transactional Templates through an automation.
Its documentation can be found here.

These are the basic steps to get this done:

1. From the left menu, select the "SendGrid" connector.

2. Drag and drop the "Raw API Request" block.

3. Set the Method to "POST".

4. Fill in the path to be used. In this case the Path Pre ID is "templates".

5. Add the Payload. An example is:

{
"name": "Example From Raw API",
"generation": "dynamic"
}

6. Click on "Run".

Screenshot 2021-09-27 at 14.48.03.png

Mailchimp Raw API Request:

In this example we will look to list recent member notes of Mailchimp in an automation.
The documentation can be found here.

1. From the left menu, select the "Mailchimp" connector.

2. Drag and drop the "Raw API List Request" block.

3. Fill in the Path. This will be "/lists/{list_id}/members/{subscriber_hash}/notes", where you replace the texts in brackets with the necessary data.

hervebiey_0-1632754856108.png

4. Click on "Run".

Labels (2)
Version history
Revision #:
5 of 5
Last update:
4 weeks ago
Updated by: