Overview
This node integrates with the SendGrid API to create new contacts in the SendGrid marketing contacts list. It is useful for automating the addition of contacts to your email marketing campaigns or contact lists. For example, you can use this node to add a new subscriber's email and optional first and last names to your SendGrid contacts automatically when they sign up on your website.
Use Case Examples
- Automatically add new user emails to SendGrid marketing contacts.
- Create contacts with additional details like first and last names for personalized email campaigns.
Properties
| Name | Meaning |
|---|---|
| Primary email for the contact, required to create the contact. | |
| Additional Fields | Optional additional fields for the contact, such as first name and last name. |
Output
JSON
- ``
contacts- Array containing the created contact objects returned from the SendGrid API.
Dependencies
- SendGrid API key credential named 'friendGridApi'
Troubleshooting
- Ensure the 'friendGridApi' credential is correctly configured with a valid SendGrid API key.
- The node requires the 'email' field to be provided; missing or invalid email will cause errors.
- HTTP request errors from the SendGrid API may occur if the API key is invalid or if the request payload is malformed.
Links
- SendGrid API - Add or Update a Contact - Official SendGrid API documentation for creating or updating marketing contacts.