Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Email Daily and Weekly Facts with Groq

On a schedule, it writes fun fact emails with Groq, OpenAI and Wikipedia and sends them to subscribers listed in Airtable via Gmail.

What it does

## Try It Out! ### This n8n templates demonstrates how to build a simple subscriber service entirely in n8n using n8n forms as a frontend, n8n generally as the backend and Airtable as the storage layer. This template in particular shows a fully automated service to send automated messages containing facts about a topic the user requested for. ### How it works * An n8n form is setup up to allow users to subscribe with a desired topic and interval of which to recieve messages via n8n forms which is then added to the Airtable. * A scheduled trigger is executed every morning and searches for subscribers to send messages for based on their desired intervals. * Once found, Subscribers are sent to a subworkflow which performs the text content generation via an AI agent and also uses a vision model to generate an image. * Both are attached to an email which is sent to the subscriber. This email also includes an unsubscribe link. * The unsubscribe flow works similarly via n8n form interface which when submitted disables further scheduled emails to the user. ## How to use * Make a copy of sample Airtable here: https://airtable.com/appL3dptT6ZTSzY9v/shrLukHafy5bwDRfD * Make sure the workflow is "activated" and the forms are available and reachable by your audience. ### Need Help? Join the Discord or ask in the Forum! Happy Hacking!

The steps

  1. Schedule Trigger
  2. Search daily
  3. Search weekly
  4. confirmation email1
  5. Execute Workflow
  6. Create Event
  7. Execute Workflow Trigger
  8. Unsubscribe Form
  9. Set Email Vars
  10. Log Last Sent
  11. Search surprise
  12. Should Send = True
  13. Should Send?
  14. Create Subscriber

24 steps in total.

Similar automations