ОтправитьGrid
Отправляйте письма и управляйте контактами, списками и шаблонами в ОтправитьGrid
ОтправитьGrid — ведущая облачная платформа доставки email, которой доверяют разработчики и компании для надёжной отправки транзакционных и маркетинговых писем в масштабе. Благодаря мощным API и инструментам ОтправитьGrid позволяет управлять всеми аспектами email-коммуникаций — от отправки уведомлений и чеков до ведения сложных маркетинговых кампаний.
ОтправитьGrid даёт пользователям полный набор email-операций, позволяя автоматизировать критичные коммуникационные воркфлоу и подробно управлять списками контактов, шаблонами и вовлечённостью получателей. Бесшовная интеграция с AACFlow позволяет агентам и воркфлоу доставлять таргетированные сообщения, поддерживать динамические списки контактов и получателей, запускать персонализированные письма через шаблоны и отслеживать результаты в реальном времени.
Ключевые возможности ОтправитьGrid:
- Транзакционные письма: отправляйте автоматические и большеобъёмные транзакционные письма (уведомления, чеки, сбросы пароля).
- Динамические шаблоны: используйте насыщенные HTML- или текстовые шаблоны с динамическими данными для глубоко персонализированной коммуникации в масштабе.
- Управление контактами: добавляйте и обновляйте маркетинговые контакты, управляйте списками получателей и сегментами для кампаний.
- Поддержка вложений: прикрепляйте одно или несколько файловых вложений к письмам.
- Полное покрытие API: программно управляйте письмами, контактами, списками, шаблонами, suppression-группами и многим другим.
Подключив ОтправитьGrid к AACFlow, ваши AI-агенты смогут:
- Отправлять как простые, так и расширенные (шаблонные или многоадресные) письма в рамках любого воркфлоу.
- Автоматически управлять контактами и списками и сегментировать их.
- Использовать шаблоны для единообразия и динамической персонализации.
- Отслеживать и реагировать на вовлечённость в письмах в рамках автоматизированных процессов.
Эта интеграция позволяет автоматизировать все критичные коммуникационные потоки, гарантировать доставку нужной аудитории и сохранять контроль над email-стратегией вашей организации прямо из воркфлоу AACFlow.
Интегрируйте ОтправитьGrid в ваш рабочий процесс. Отправляйте транзакционные письма, manage marketing contacts и lists, и work с email templates. Supports dynamic templates, attachments, и comprehensive contact management.
Отправить an email using ОтправитьGrid API
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
from | string | Да | Sender email address (must be verified in SendGrid) |
fromName | string | Нет | Sender name |
to | string | Да | Recipient email address |
toName | string | Нет | Recipient name |
subject | string | Нет | Email subject (required unless using a template with pre-defined subject) |
content | string | Нет | Email body content (required unless using a template with pre-defined content) |
contentType | string | Нет | Content type (text/plain or text/html) |
cc | string | Нет | CC email address |
bcc | string | Нет | BCC email address |
replyTo | string | Нет | Reply-to email address |
replyToName | string | Нет | Reply-to name |
attachments | file[] | Нет | Files to attach to the email (UserFile objects) |
templateId | string | Нет | SendGrid template ID to use |
dynamicTemplateData | json | Нет | JSON object of dynamic template data |
| Параметр | Тип | Описание |
|---|
success | boolean | Произошла ли email was sent successfully |
messageId | string | SendGrid message ID |
to | string | Recipient email address |
subject | string | Email subject |
Добавить новый contact to ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
email | string | Да | Contact email address |
firstName | string | Нет | Contact first name |
lastName | string | Нет | Contact last name |
customFields | json | Нет | JSON object of custom field key-value pairs (use field IDs like e1_T, e2_N, e3_D, not field names) |
listIds | string | Нет | Comma-separated list IDs to add the contact to |
| Параметр | Тип | Описание |
|---|
jobId | string | Job ID for tracking the async contact creation |
email | string | Contact email address |
firstName | string | Contact first name |
lastName | string | Contact last name |
message | string | Status message |
Получить a specific contact от ID from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
contactId | string | Да | Contact ID |
| Параметр | Тип | Описание |
|---|
id | string | Contact ID |
email | string | Contact email address |
firstName | string | Contact first name |
lastName | string | Contact last name |
createdAt | string | Creation timestamp |
updatedAt | string | Last update timestamp |
listIds | json | Массив list IDs the contact belongs to |
customFields | json | Custom field values |
Поиск contacts in ОтправитьGrid using a запрос
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
query | string | Да | Search query (e.g., "email LIKE '%example.com%' AND CONTAINS(list_ids, 'list-id')") |
| Параметр | Тип | Описание |
|---|
contacts | json | Массив matching contacts |
contactCount | number | Total number of contacts found |
Удалить one или more contacts from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
contactIds | string | Да | Comma-separated contact IDs to delete |
| Параметр | Тип | Описание |
|---|
jobId | string | Job ID for the deletion request |
Создать новый contact list in ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
name | string | Да | List name |
| Параметр | Тип | Описание |
|---|
id | string | List ID |
name | string | List name |
contactCount | number | Number of contacts in the list |
Получить a specific list от ID from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
listId | string | Да | List ID |
| Параметр | Тип | Описание |
|---|
id | string | List ID |
name | string | List name |
contactCount | number | Number of contacts in the list |
Получить все contact lists from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
pageSize | number | Нет | Number of lists to return per page (default: 100) |
| Параметр | Тип | Описание |
|---|
lists | json | Массив lists |
Удалить contact list from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
listId | string | Да | List ID to delete |
| Параметр | Тип | Описание |
|---|
message | string | Success message |
Добавить или update contacts и assign them to a list in ОтправитьGrid (uses PUT /v3/marketing/contacts)
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
listId | string | Да | List ID to add contacts to |
contacts | json | Да | JSON array of contact objects. Each contact must have at least: email (or phone_number_id/external_id/anonymous_id). Example: [{"email": "user@example.com", "first_name": "John"}] |
| Параметр | Тип | Описание |
|---|
jobId | string | Job ID for tracking the async operation |
message | string | Status message |
Remove contacts from a specific list in ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
listId | string | Да | List ID |
contactIds | string | Да | Comma-separated contact IDs to remove из списка |
| Параметр | Тип | Описание |
|---|
jobId | string | Job ID for the request |
Создать новый email template in ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
name | string | Да | Template name |
generation | string | Нет | Template generation type (legacy or dynamic, default: dynamic) |
| Параметр | Тип | Описание |
|---|
id | string | Template ID |
name | string | Template name |
generation | string | Template generation |
updatedAt | string | Last update timestamp |
versions | json | Массив template versions |
Получить a specific template от ID from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
templateId | string | Да | Template ID |
| Параметр | Тип | Описание |
|---|
id | string | Template ID |
name | string | Template name |
generation | string | Template generation |
updatedAt | string | Last update timestamp |
versions | json | Массив template versions |
Получить все email templates from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
generations | string | Нет | Filter by generation (legacy, dynamic, or both) |
pageSize | number | Нет | Number of templates to return per page (default: 20) |
| Параметр | Тип | Описание |
|---|
templates | json | Массив templates |
Удалитьn email template from ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
templateId | string | Да | Template ID to delete |
| Параметр | Тип | Описание |
|---|
success | boolean | Operation success status |
message | string | Status or success message |
messageId | string | Email message ID (send_mail) |
to | string | Recipient email address (send_mail) |
subject | string | Email subject (send_mail, create_template_version) |
id | string | Resource ID |
jobId | string | Job ID for async operations |
email | string | Contact email address |
firstName | string | Contact first name |
lastName | string | Contact last name |
createdAt | string | Creation timestamp |
updatedAt | string | Last update timestamp |
listIds | json | Массив list IDs the contact belongs to |
customFields | json | Custom field values |
contacts | json | Массив contacts |
contactCount | number | Number of contacts |
lists | json | Массив lists |
name | string | Resource name |
templates | json | Массив templates |
generation | string | Template generation |
versions | json | Массив template versions |
templateId | string | Template ID |
active | boolean | Whether template version is active |
htmlContent | string | HTML content |
plainContent | string | Plain text content |
Создать новый version of an email template in ОтправитьGrid
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | SendGrid API key |
templateId | string | Да | Template ID |
name | string | Да | Version name |
subject | string | Да | Email subject line |
htmlContent | string | Нет | HTML content of the template |
plainContent | string | Нет | Plain text content of the template |
active | boolean | Нет | Произошла ли эта version is active (default: true) |
| Параметр | Тип | Описание |
|---|
id | string | Version ID |
templateId | string | Template ID |
name | string | Version name |
subject | string | Email subject |
active | boolean | Произошла ли эта version is active |
htmlContent | string | HTML content |
plainContent | string | Plain text content |
updatedAt | string | Last update timestamp |