n8nflow.net logo

πŸŽ™οΈ Convert Voice Notes to X Posts with Google Drive and AssemblyAI

by Shelly-Ann Davyβ€’Updated: Last update a month agoβ€’Source: n8n.io
Loading workflow viewer...

Getting Started

πŸŽ™οΈ Voice Note to Tweet: Turn Audio Ideas into X Posts with n8n

A lean, 3-node automation that turns voice memos into tweets β€” so creators can capture ideas on the go and publish fast, without typing.

Capture inspiration the moment it strikes β€” even when you’re not at your desk. This 3-node workflow lets content creators, coaches, and solopreneurs turn voice memos into X (Twitter) posts automatically.

Just record a voice note, upload it to a Google Drive folder, and n8n will:

πŸ› οΈ Step-by-Step Setup Instructions

1. Prepare Google Drive Folder

  • Create a folder: Voice Notes to Tweet
  • Enable Google Drive API in your n8n credentials
  • Share the folder with your automation account (if needed)

2. Set Up AssemblyAI (or Whisper)

  • Sign up at assemblyai.com
  • Get your API key
  • In n8n, add a credential for HTTP Request or use a dedicated node

πŸ” Alternative: Use OpenAI’s Whisper API if preferred

3. Connect X (Twitter) Account

  • Use n8n’s X (Twitter) node
  • Authenticate with your app key, secret, access token
  • Ensure write permissions

4. Deploy the Workflow

  • Import the JSON below
  • Replace placeholder credentials:
    • {{GOOGLE_DRIVE_FOLDER_ID}}
    • {{ASSEMBLYAI_API_KEY}}
    • {{TWITTER_CREDENTIAL}}
  • Activate the workflow

Now, every time you upload a .m4a, .mp3, or .wav file to your folder β€” it becomes a tweet.


πŸ”„ Workflow Explanation

  1. Watch Google Drive β†’ Triggers when a new voice note is added
  2. Transcribe Audio β†’ Sends file to AssemblyAI for speech-to-text
  3. Post to X (Twitter) β†’ Publishes the transcript as a tweet

Optional: Add a Slack approval step if you don’t want auto-posting.


πŸ“¦ Pre-Conditions

  • βœ… n8n account with access to HTTP and X nodes
  • βœ… Google Drive API enabled
  • βœ… AssemblyAI or Whisper API key
  • βœ… X (Twitter) Developer Account with app credentials
  • βœ… Internet-accessible audio files (hosted in Drive)

⚠️ Note: X API v2 requires OAuth 2.0 and app approval.


🎨 Customization Guidance

EnhancementHow
Add Approval StepInsert Slack/Telegram node to approve before posting
Trim Long TranscriptsUse Function node to limit to 280 chars
Add HashtagsAppend #VoiceToTweet #ContentCreatorTips
Save to ArchiveAfter posting, move file to β€œProcessed” folder
Support iOS Voice MemosAuto-convert .m4a β†’ compatible format

🌐 Who It’s For

  • Coaches who record insights on walks
  • Solopreneurs building personal brands
  • Content creators who hate writing from scratch
  • Thought leaders capturing ideas in motion

βœ… Final Notes for Submission

  • All nodes have sticky notes explaining purpose
  • Uses standard APIs with documented credentials
  • Solves a real creator pain point
  • No fluff, no β€œmagic” β€” just practical automation