Superchat icon

Superchat

Receive and send messages from WhatsApp, Instagram, Messenger, E-Mail, SMS, via Live Chat and Telegram.

Message → Send Email

AI-generated

Overview

This node operation sends an email message through the Superchat platform. It is useful for automating email communications, such as sending notifications, marketing emails, or customer support messages directly from workflows. Users can specify sender details, recipient email or contact ID, subject, message content in HTML or plain text, and attach files if needed.

Use Case Examples

  1. Sending a welcome email to a new user after registration.
  2. Automating support ticket responses via email.
  3. Sending marketing newsletters with attachments.

Properties

Name Meaning
Sender Name The name displayed as the sender of the email, visible beneath the message in Superchat.
To (Email Address or Contact ID) The recipient's email address or a Contact ID to whom the email will be sent.
Channel ID The ID of the channel from which the email is sent. Channel IDs start with 'mc_'.
Reply To (Message ID) The ID of the message to which this email is a reply. Message IDs start with 'ms_'.
Subject The subject line of the email. Optional but recommended.
HTML The HTML content of the email. At least one of HTML or Text must be provided.
Text The plain text content of the email. At least one of HTML or Text must be provided.
Attachments (File IDs) File IDs of attachments to include in the email. Multiple files can be attached.

Output

JSON

  • messageId - The unique identifier of the sent email message.
  • status - The status of the email sending operation (e.g., sent, failed).
  • recipient - The email address or contact ID to which the email was sent.

Dependencies

  • Superchat API key credential for authentication

Troubleshooting

  • Ensure that either HTML or Text content is provided; otherwise, the email cannot be sent.
  • Verify that the Channel ID is correct and starts with 'mc_'.
  • Check that the recipient identifier is a valid email address or a valid Contact ID.
  • If attachments are included, confirm that the File IDs are valid and accessible.
  • Common error messages may include authentication failures, invalid recipient addresses, or missing required fields. Resolving these typically involves verifying credentials, input data, and channel configurations.

Links

Discussion