This n8n workflow automates the process of fetching recent emails, extracting key content, summarizing news topics, and generating a formatted HTML newsletter. It begins with a scheduled trigger, which initiates the workflow to retrieve emails from specified senders received in the past day using Gmail’s API. Each email is then fetched in detail, where its HTML content is extracted and cleaned for readability. The workflow employs an OpenAI model (GPT-4-mini) to analyze the email contents and create concise topic summaries in JSON format. These summaries are then transformed into a well-designed HTML newsletter, featuring styled topic entries suitable for email delivery. Finally, the personalized digest is sent to the specified recipient via Gmail. This automation is ideal for regularly producing curated email newsletters or updates from multiple sources, saving time and ensuring consistency in communication.
Automated Email Digest Summary for WordPress
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.openAi, code, gmail, scheduleTrigger, splitInBatches, stickyNote |
Reviews
There are no reviews yet.