Quick Overview
This workflow runs daily, reads your blog RSS feed, uses Google Gemini to repurpose the latest posts into Twitter/X and LinkedIn drafts in your brand voice, then appends the drafts to Google Sheets and posts them to a Slack channel for review.
How it works
- Runs every day on a schedule and reads items from your blog’s RSS feed.
- Keeps only the three most recent posts to process.
- Builds a prompt that includes your brand voice, hashtags, and each post’s title, URL, and excerpt.
- Sends the prompt to the Google Gemini API to generate Twitter/X and LinkedIn copy formatted as JSON.
- Parses the Gemini response into separate twitter and linkedin draft fields.
- Appends the drafts to a Google Sheets worksheet and posts the formatted drafts to a Slack channel for review.
Setup
- Add credentials for the Google Gemini (PaLM) API, Google Sheets OAuth2, and Slack OAuth2.
- Paste your blog RSS feed URL in the RSS reader step.
- Update the brand voice text and default hashtags to match your tone.
- Select the target Google Sheets spreadsheet and worksheet (for example, a “Social Drafts” tab) where drafts are appended.
- Choose the Slack channel where draft messages are posted.