This n8n workflow automates Pinterest content scraping based on user-provided keywords using BrightData's API and Claude Sonnet 4 AI agent. The system intelligently processes keywords, initiates scraping jobs, monitors progress, and formats the extracted data into structured outputs.
claude-sonnet-4-20250514https://api.brightdata.com/datasets/v3/triggerdataset_id: gd_lk0sjs4d21kdr7cnlvinclude_errors: truetype: discover_newdiscover_by: keywordlimit_per_input: 2https://api.brightdata.com/datasets/v3/progress/{snapshot_id}https://api.brightdata.com/datasets/v3/snapshot/{snapshot_id}Anthropic API
ANTHROPIC_CREDENTIAL_IDBrightData API
BRIGHT_DATA_API_KEYGoogle Sheets OAuth2
GOOGLE_SHEETS_CREDENTIAL_IDReplace the following placeholders with actual values:
WEBHOOK_ID_PLACEHOLDER: Form trigger webhook IDGOOGLE_SHEET_ID_PLACEHOLDER: Target Google Sheets document IDWORKFLOW_VERSION_ID: n8n workflow versionINSTANCE_ID_PLACEHOLDER: n8n instance identifierWORKFLOW_ID_PLACEHOLDER: Unique workflow identifierUser Input (Keywords) 
    ↓
AI Agent Processing (Claude)
    ↓
BrightData Scraping Job Creation
    ↓
Status Monitoring Loop
    ↓
Data Retrieval (when ready)
    ↓
Content Formatting & Extraction
    ↓
Google Sheets Storage
Each scraped Pinterest pin contains:
Initial Setup :
Running the Workflow :
Monitoring Progress :
Accessing Results :
limit_per_input parameterCreate a copy of the sample sheet structure:
https://docs.google.com/spreadsheets/d/SAMPLE_SHEET_ID/edit
Required columns:
For any questions or support, please contact: Email or
fill out this form


