πŸ“± Process testimonials with GPT-4 & auto-generate social media cards with Google Sheets

⚑ 146 views Β· πŸ“± Social Media & Email Marketing

πŸ’‘ Pro Tip β€” If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β€” you just pass a URL and get structured data back.

View All Scrapers

Description

Automated AI-Powered Testimonial Processing & Social Media Workflow


Overview:

This comprehensive workflow automates the entire testimonial collection and publishing process, from submission to social media-ready content. It uses AI to enhance testimonials, generates beautiful branded cards, and implements an approval system before posting.

Key Features:

Workflow Steps:

Main Flow (Testimonial Processing):

  1. Receives testimonial via webhook (POST request)
  2. Validates and cleans data (name, testimonial, photo, email)
  3. Enhances testimonial using GPT-4 Turbo
  4. Generates HTML template with customer details
  5. Converts HTML to PNG image (800x600px)
  6. Uploads image to Google Drive
  7. Logs all data to Google Sheets with β€œPending Approval” status
  8. Sends Slack notification to review team

Approval Flow (Scheduled Check):

  1. Runs every 5 minutes automatically
  2. Checks Google Sheets for approved testimonials
  3. Filters testimonials not yet posted
  4. Sends ready-to-post Slack notification with formatted text
  5. Marks testimonial as processed in database

Use Cases:

What Makes This Workflow Special:


πŸ”§ Required Integrations:

  1. OpenAI API (GPT-4 Turbo) - AI testimonial enhancement
  2. HTML/CSS to Image API - Screenshot generation
  3. Google Drive OAuth2 - Image storage
  4. Google Sheets OAuth2 - Database management
  5. Slack API - Team notifications

πŸ“‹ Prerequisites:


πŸš€ Setup Instructions:

1. Import Workflow

2. Configure Credentials

Add these credentials in n8n:

3. Update Configuration

Replace in the JSON:

4. Test the Workflow

Send a POST request to your webhook URL:

{
    "name": "Sarah Johnson",
    "designation": "Marketing Director",
    "photo_url": "https://i.pravatar.cc/400?img=5",
    "testimonial_text": "Working with this team was amazing!",
    "email": "sample@gmail.com"
}

πŸ“Š Google Sheets Setup:

Create a Google Sheet with these columns:


🎨 Customization Options:


πŸ†˜ Troubleshooting:

Webhook not receiving data:

AI enhancement failing:

Image not generating:

Google Drive upload failing:


πŸ† Perfect For:


βš–οΈ License:

Free to use and modify for personal and commercial projects.

πŸ”— Nodes Used

Google Sheets, HTTP Request, Slack, Webhook, Google Drive, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup