3 min read

sendEmail Documentation

Overview

The sendEmail workflow node sends emails containing workflow output data to specified recipients. Emails are dispatched from noreply@intuidy.com using Amazon SES (Simple Email Service). The node supports both single execution (one email with all data) and batch execution (one email per data row when connected to a Bulk Mapping node).

Settings

1. to (Recipient Emails)

2. subject

3. bodyTemplate

4. bodyFormat

How It Works

Single Execution (Standard)

  1. Receives input data from inputs.input1
  2. Parses and validates recipient email addresses
  3. Generates the email body from the custom template or auto-formats the input data
  4. Sends the email via the internal sendWorkflowEmail service
  5. Returns a success report with email details

Batch Execution (with Bulk Mapping)

When connected downstream of a Bulk Mapping node:

  1. The Bulk Mapping node iterates over each selected row
  2. For each row, {{column_name}} variables in To, Subject, and Body are resolved with that row's values
  3. An individual email is sent per row
  4. Errors on individual rows don't stop the batch

Variable Syntax

PatternResolves To
{{email}}Value of email column in the current row
{{first_name}}Value of first_name column in the current row
Multiple variablesSupported in all fields simultaneously

Data Expectations

Email Delivery

Use Cases

1. Batch Customer Notifications

Connect: Database Query → Bulk Mapping → Send Email Map email to recipient, use {{customer_name}} in subject and body template for personalized notifications.

2. Automated Report Delivery

Connect: Data Transform → Send Email Auto-format workflow results as a summary table and email to a distribution list.

3. Alert Emails

Connect: Event Monitor → Conditional → Send Email Trigger alert emails when workflow conditions are met.

Example Configuration

json
{
  "config": {
    "to": "{{email_address}}",
    "subject": "Order {{order_id}} Confirmation",
    "bodyTemplate": "Hello {{first_name}},\n\nYour order {{order_id}} has been confirmed.\n\nTotal: ${{total}}",
    "bodyFormat": "text"
  }
}