Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SendGrid is a communication platform for transactional and marketing emails.

...

Section

User Configuration Label

Label Description

Options

Default

Variable

User Widget

StandardAPI KeyThe SendGrid API Key taken from the SendGrid account of choice

sendgrid-api-keyText Box

UsernameLogin name for Sendgrid

usernameText Box

PasswordLogin password for the username specified above

passwordText Box

Data SourceOne of the above sources picked from list

data-sourceText Box








Data Source FieldsList of fields to be retrieved

data-source-fieldsText Box

Start Date(required by some SG API Endpoints)

The date in format YYYY-MM-DD, starting from which the data is requested.

not setstart-dateTODO

End Date(required by some SG API Endpoints)
The date in format YYYY-MM-DD, the end date for the requested data

not setend-dateTODO
Error HandlingOn Record ErrorHow to handle error in record processing
  • Skip error
  • Send to error port
  • Fail pipeline
Skip erroron-errorRadio Button (layout: block)

...

Design Tips and references

SendGrid v3 API:

 - https://sendgrid.api-docs.io/v3.0/

 - https://sendgrid.com/docs/API_Reference/Web_APIapi_v3/index.html


SendGrid supports API v2 and v3 with Legacy Marketing Campaigns (LMC) API and New Marketing Campaigns(NMC) legacy and and SendGrid v3 API . As v2 and LMC API v3 legacy are outdated, plugin we going to support and use API v3 and NMC API. The old accounts, which still using LMC may need to migrate to the NMC.

...

the latest SendGrid v3 API.


Data source reference

Campaigns
ObjectAPI ReferenceAPI PremissionsNotes
Automations-
No documentation available, but the usage could be revers engineered through debugging of official UI
Single Sendshttps://sendgrid.api-docs.io/v3.0/listssingle-sends/get-all-lists*Senders-single-sends

Senders-
No documentation available, but the usage could be revers engineered through debugging of official UI
Contactshttps://sendgrid.api-docs.io/v3.0/senderscontacts/createget-a-sender-identity-1v3 API allow to create sender identities, still looking for retrieving existing onesListsall-contacts

Segmentshttps://sendgrid.api-docs.io/v3.0/listssegmenting-contacts/get-list-allof-listssegments*

RecipientsGlobalStatshttps://sendgrid.api-docs.io/v3.0/contactsstats/getretrieve-global-allemail-contactsstatistics

Unsubscribe groupCategoryStatshttps://sendgrid.api-docs.io/v3.0/suppressions-unsubscribe-groupscategories/retrieve-allemail-suppressionstatistics-groups-associated-with-the-userAdvanced Stats for-categories

AdvancedStatshttps://sendgrid.com/docs/API_Reference/Web_API_v3/Stats/advanced.html

Bounceshttps://sendgrid.api-docs.io/v3.0/bounces-api/retrieve-all-bouncesCategory Stats

Global Unsubscribes-
No documentation available, but the usage could be revers engineered through debugging of official UI
Group Unsubscribeshttps://sendgrid.api-docs.io/v3.0/categoriessuppressions-unsubscribe-groups/retrieve-email-statistics-for-categoriesGlobal Statsall-suppression-groups-associated-with-the-user

Spam Reportshttps://sendgrid.api-docs.io/v3.0/statsspam-reports-api/retrieve-globalall-emailspam-statisticsreports

Marketing CampaignsBlockshttps://sendgrid.api-docs.io/v3.0/singleblocks-sendsapi/getretrieve-all-single-sendsScheduleTODOSegmentshttps://sendgrid.api-docs.io/v3.0/segmenting-contacts/get-list-of-segmentsblocks

Schedule-

Data sources description

Field nameTypeDescription

Automation










Single Sends







Senders







Contacts







Segments







Global Stats







Category Stats







Advanced Stats







Bounces







Global Unsubscribes







Group Unsubscribes







Spam Reports (TODO)







Blocks (TODO)







Schedule (TODO)








Authorization

Plugin supporting Basic and API Key authorization, with using API Key by default when provided.

...