Data Sync & ETL
Segment donors and generate personalized messages with Google Sheets and Ollama
On a schedule, it moves and syncs data with Ollama using Ollama, Google Sheets.
What it does
# Get, Clean, Validate rows from Google Sheet * Confirms required fields, normalizes types, dedupes by full-row match, tags each row with validation_status instead of dropping silently * Valid rows are sent to RFM Scoring (Recency, Frequency, Monetary) * Invalid rows are recorded in a new sheet called "Invalid Rows" within the document
The steps
- Merge Draft With Donor Data
- Basic LLM Chain2
- Monthly Schedule Trigger
- Get row(s) in sheet
- Validate & Clean
- IF Valid / Invalid Rows
- When clicking ‘Execute workflow’
- Store Invalid Rows
- Behavioral Segmentation
- Segment to Treatment Mapping
- RFM Segmentation
- Build Prompt
- Llama3.1
- Validate LLM Output
17 steps in total.
Similar automations
Data Sync & ETLSegment donors and draft personalized outreach with Google Sheets and Ollama17 stepsReports, Analytics & DashboardsTrack an Event in Segment3 stepsMonitoring, Ops & IncidentsTrack an Event in Segment2 stepsData Sync & ETLSync warehouse customer data from Postgres to HubSpot and Segment28 steps