How it works:
Daily Trigger:
Every morning at 8 AM, the workflow is automatically triggered.
Fetch Trending Topics:
The workflow collects trending topics from external sources, such as news RSS feeds and Reddit popular posts. These trends are merged and summarized to provide up-to-date context for content generation.
Read Active Campaigns:
The workflow reads all rows from the “Active Campaigns” Google Sheet, but only processes campaigns with a status of "active" to avoid generating content for paused or inactive campaigns.
Enrich Campaigns with Trends:
Each active campaign is enriched with the latest trending topics, so the generated content can reference current events or popular themes.
AI Content Generation:
For each enriched campaign, Groq AI generates:
Quality Scoring:
The workflow calculates a quality score for each generated content idea, considering factors like caption length, hashtag count, and creative direction.
Append to Google Sheets:
The generated content ideas, along with their quality scores and other details, are appended to the “Daily Content Plan” Google Sheet for record-keeping and team collaboration.
Schedule in Google Calendar:
For each campaign, an event is created in Google Calendar with the content details and recommended posting time, ensuring the team is reminded to review or publish the content.
Daily Email Summary (Optional):
At the end of the process, a summary email can be sent to the team, including statistics such as the number of campaigns processed, average quality score, and a platform breakdown.
Set up steps:
Add a Cron Node:
Drag in a Cron node and set it to trigger every day at 8:00 AM.
Read Campaigns from Google Sheets:
(Optional) Fetch Trending Topics:
If you want to enrich your content with trending topics, add nodes to fetch data from RSS feeds, Reddit, or other sources.
Process Each Campaign: