Quick overview
This workflow polls the TechCrunch RSS feed for new articles, uses Google Gemini to generate three LinkedIn content angles, then uses PostNitro to create a carousel design and schedule draft posts for LinkedIn and Instagram, sending Gmail notifications on success or failure.
How it works
- Polls the TechCrunch RSS feed every minute for new articles.
- Sends each new article’s title, snippet, and URL to Google Gemini to generate three distinct content angles (audience, angle, and hook) as structured JSON.
- Splits the three angles into individual items and limits how many angles are processed per run.
- For each angle, uses PostNitro AI to generate a carousel design from the article URL.
- Creates two PostNitro scheduled-post drafts for the generated design: a LinkedIn document post and an Instagram carousel post, both scheduled for one day later and using the angle’s hook as caption text.
- Combines the LinkedIn and Instagram results per angle and emails a Gmail confirmation with the draft statuses and schedule times.
- If carousel generation fails for an angle, emails a Gmail alert with the error, the article URL, and the angle that was attempted.
Setup
- Add a Google Gemini (PaLM) API credential for the LangChain agent.
- Add a PostNitro API credential and update the brandId, presetId, templateId, and selected account IDs for LinkedIn and Instagram in the PostNitro nodes.
- Add a Gmail OAuth2 credential and set the recipient email address for success and failure notifications.
- Confirm the RSS feed URL and polling interval match the source and frequency you want to monitor.
- Adjust the scheduledAt offset if you want drafts created sooner or later than “+1 day.”