SendGrid Node
What it does
Sends transactional or notification email through SendGrid using API-key based credentials.
Inputs/config
- SendGrid credential/API key reference.
- From/to recipients.
- Subject and content blocks (text/html/template data).
Outputs/branches
- Uses
matched_output. successwhen API request is accepted.erroron auth, quota, or API request failures.
Example usage snippet
{
"id": "n_sendgrid",
"type": "sendgrid_node",
"config": {
"to": ["[email protected]"],
"subject": "Your verification code",
"template_data": { "code": "{{input.code}}" }
}
}
Common pitfalls
- Exceeding provider limits without retry/backoff strategy.
- Forgetting verified sender identity in SendGrid account.
- Logging full request bodies that include user email content.