πŸ”§ Automate prescription delivery via Google Sheets to email & WhatsApp

⚑ 919 views Β· πŸ”§ Miscellaneous

Description

This is a fully working n8n workflow that sends prescriptions to patients via email and WhatsApp when a doctor enters prescription data into a Google Sheet.

πŸ“‹ Google Sheets Structure

Main Sheet: Required columns:

Log Sheet: This will be auto-created with columns for tracking sent notifications.

πŸ”§ Required Credentials Setup

  1. Google Sheets OAuth2 API: Connect your Google account
  2. SMTP Credentials: For email sending (Gmail, Outlook, etc.)
  3. WhatsApp API: Meta Business WhatsApp API credentials

βš™οΈ Configuration Steps

  1. Replace YOUR_GOOGLE_SHEET_ID with your actual Google Sheet ID
  2. Replace YOUR_WHATSAPP_PHONE_NUMBER_ID with your WhatsApp Business phone number ID
  3. Update the email sender address in the β€œSend Email” node
  4. Set up your credentials in n8n

🌟 Features Included

πŸ“± Sample Data Format

Add rows to your sheet like this:

prescription_id: RX001
patient_name: John Doe
patient_email: john@email.com
patient_phone: +1234567890
doctor_name: Dr. Smith
prescription_date: 2025-01-15
prescription_details: Amoxicillin 500mg capsules
dosage_instructions: Take 1 capsule 3 times daily with food
followup_date: 2025-01-22
prescription_status: new

πŸ”— Nodes Used

Send Email, Google Sheets, WhatsApp Business Cloud, Google Sheets Trigger, Filter

πŸ“₯ Import

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

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