SendGrid Core
SendGrid (now part of Twilio) is a cloud-based email delivery and marketing platform.
SendGrid Core integration replicates data using the SendGrid v3 API.
복제 가능한 개체 목록은 Schema 섹션을 참조하십시오.Preparing for authentication
To access your data, you need to authenticate the connection with a SendGrid API key.
To set up your SendGrid account, you need:
- An active SendGrid account with API access enabled.
- Permission to create API keys in your SendGrid account (Administrator role, or a Restricted Access role with the required permissions already assigned).
To create an API key:
- Log into your SendGrid account.
- Navigate to Settings > API Keys > Create API Key.
- Enter a name for the key, for example QlikDataIntegration.
- Select Restricted Access to limit the key to only the required permissions.
- Expand the permission categories and grant Read Access to the following:
- Suppressions — required to replicate
blocks,bounces,invalids,spam_reports,global_suppressions,groups_all, andgroups_members. - Marketing Campaigns — required to replicate
contacts,lists_all,lists_members,segments_all,segments_members, andcampaigns. - Template Engine — required to replicate
templates_all.
- Suppressions — required to replicate
- Click Create & View.
- Copy and paste your API key into a secured file.
Creating the connection
자세한 내용은 SaaS 응용 프로그램에 연결을 참조하십시오.
- 필요한 연결 속성을 입력합니다.
연결 이름에 연결 이름을 입력합니다.
연결이 만들어질 때 연결에 대한 메타데이터를 정의하려면 연결 메타데이터 열기를 선택합니다.
만들기를 클릭합니다.
| Setting | Description |
|---|---|
| Data gateway | 사용 사례에 필요한 경우 데이터 이동 게이트웨이를 선택합니다. 정보 메모 이 필드는 데이터 이동 게이트웨이를 지원하지 않으므로 Qlik Talend Cloud 시작 구독에서는 사용할 수 없습니다. 다른 구독 계층이 있고 데이터 이동 게이트웨이를 사용하지 않으려면 없음을 선택합니다. 데이터 이동 게이트웨이의 이점과 이를 필요로 하는 사용 사례에 대한 자세한 내용은 Qlik 데이터 게이트웨이 - 데이터 이동를 참조하십시오. |
| Start Date | 데이터를 소스에서 대상으로 복제해야 하는 날짜를 |
| API Key | API key. |
Limitations and considerations
- An API key cannot be granted greater permissions than your own account's current permissions. If you have a Restricted Access role in SendGrid, you can only include permissions already assigned to your account.
- Custom contact fields defined in your SendGrid account appear as records inside the
custom_fieldsarray on each contact, not as separate top-level columns. Adding new custom contact fields does not require a destination schema reset. - The
groups_members,lists_members, andsegments_membersstreams usemember_countas the replication key. Each sync fetches member data only for groups, lists, or segments whose member count has increased since the last run. Membership changes that leave the count unchanged (for example, one member removed and another added) are not detected. - The
groups_membersstream replicates suppressed (unsubscribed) email addresses for each unsubscribe group. - This connector uses the Legacy Marketing Campaigns API endpoints (
/v3/contactdb/). Accounts that have only ever used the newer Twilio SendGrid Marketing Campaigns (Single Sends) may find these endpoints unavailable or empty.
Schema
Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.
Depending on your destination, table and column names may not appear as they are outlined below.
blocks
The blocks table contains information about email addresses that were blocked from receiving emails.
Replication Method | CDC |
Primary Key | |
Replication Key | end_time |
| Useful links |
bounces
The bounces table contains information about email addresses that have bounced.
Replication Method | CDC |
Primary Key | |
Replication Key | end_time |
| Useful links |
campaigns
The campaigns table contains information about email campaigns in your SendGrid account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
contacts
The contacts table contains information about recipients in your SendGrid contact database.
Replication Method | CDC |
Primary Key | id |
Replication Key | created_at, updated_at |
| Useful links |
global_suppressions
The global_suppressions table contains email addresses that have globally unsubscribed from all emails.
Replication Method | CDC |
Primary Key | |
Replication Key | end_time |
| Useful links |
groups_all
The groups_all table contains information about unsubscribe groups in your SendGrid account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
groups_members
The groups_members table contains suppressed (unsubscribed) email addresses for each unsubscribe group.
Replication Method | CDC |
Primary Key | |
Replication Key | member_count |
| Useful links |
invalids
The invalids table contains invalid email addresses that cannot receive mail.
Replication Method | CDC |
Primary Key | |
Replication Key | end_time |
| Useful links |
lists_all
The lists_all table contains information about contact lists in your SendGrid account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
lists_members
The lists_members table contains contact recipients that belong to a contact list.
Replication Method | CDC |
Primary Key | id |
Replication Key | member_count |
| Useful links |
segments_all
The segments_all table contains information about contact segments in your SendGrid account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
segments_members
The segments_members table contains contact recipients that belong to a contact segment.
Replication Method | CDC |
Primary Key | id |
Replication Key | member_count |
| Useful links |
spam_reports
The spam_reports table contains email addresses that have marked your emails as spam.
Replication Method | CDC |
Primary Key | |
Replication Key | end_time |
| Useful links |
templates_all
The templates_all table contains information about email templates in your SendGrid account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |