← All N8N workflows
Messaging & emailAggregateConvert To FileDate TimeGmailIf

Send Emails from Obsidian

Configured with Aggregate, Convert To File, Date Time, Gmail, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
RoutingCheck if attachmentsexistIfTransformSeparate attachmentdataSplit OutRoutingProcess Each AttachmentLoop Over ItemsTransformConvert Attachment toFileConvert To FileTransformPrepare Attachments forEmailAggregateMessagingEmail With AttachmentsGmailMessagingEmail WithoutAttachmentsGmailRoutingCheck if it is a testIfWeb / APIRespond to ObsidianRespond To WebhookTransformFix Base64 stringEdit FieldsWeb / APITest SuccesfullRespond To WebhookTransformGet dateDate TimeTriggerWebhookWebhook

Node categories in this workflow

  • Routing
  • Transform
  • Messaging
  • Web / API
  • Trigger

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Check if attachments existRoutingIfSee node parameters
Separate attachment dataTransformSplit OutSee node parameters
Process Each AttachmentRoutingLoop Over ItemsSee node parameters
Convert Attachment to FileTransformConvert To FiletoBinary
Prepare Attachments for EmailTransformAggregateSee node parameters
Email With AttachmentsMessagingGmailSee node parameters
Email Without AttachmentsMessagingGmailSee node parameters
Check if it is a testRoutingIfSee node parameters
Respond to ObsidianWeb / APIRespond To WebhookSee node parameters
Fix Base64 stringTransformEdit FieldsSee node parameters
Test SuccesfullWeb / APIRespond To WebhookSee node parameters
Get dateTransformDate TimeSee node parameters
WebhookTriggerWebhookSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2

Workflow notes

Obsidian to Email Overview

Obsidian to Email Overview

This workflow allows you to send your Obsidian notes (including attachments) via email, with YAML metadata for customization.

Key Features:

  • Trigger email sending through Obsidian's Post Webhook plugin.
  • Parse YAML frontmatter for email metadata like recipients, subject, and more.
  • Automatic handling of attachments (images/files) via base64 encoding.
  • Append Webhook response automatically to the bottom of your note in Obsidian
YAML Frontmatter Example

YAML Frontmatter Example

Use YAML frontmatter in your Obsidian notes to define key email details such as recipients, subject, and more.

Example YAML:

---
to: "user@example.com"
cc: "user@example.com"
bcc: "user@example.com"
subject: "Your Obsidian Note"
sender-name: "Your Name"
send-replies-to: "user@example.com"
---
Note content goes here...
Attachment Handling

Attachment Handling

The plugin automatically handles attachments in your Obsidian notes.

This workflow automates the processing of attachments by converting each attachment into a binary format.

Obsidian Configuration

Obsidian Configuration

Install the Obsidian Post Webhook plugin.

How to set-up webhook connection:

  1. Set your webhook URL in the plugin settings.
  2. Use the built-in testing functionality to ensure your webhook is set up correctly.
  3. Open any note in Obsidian.
  4. Use the command palette (Ctrl/Cmd + P) to search for "Send to Webhook".
  5. Once sent, this workflow begins.
Sticky Note4

Send Email and Respond

Send Email and Respond

After the email is sent, the workflow confirms the email's status and sends a response back to Obsidian.

Send Emails from Obsidian

Send Emails from Obsidian

Purpose and structure

This folder contains the Send Emails from Obsidian workflow. Its executable nodes use aggregate, convertToFile, dateTime, gmail, if, respondToWebhook, set, splitInBatches, splitOut, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Webhook

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1403_Splitout_Datetime_Send_Webhook.json MIT; preserve source notices.

More in Messaging & email