Skip to content

Franck-Gildas/webhook-python-zapier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python + Zapier Hybrid: Automated Data Processing

This project demonstrates a custom automation that combines Python logic with Zapier and Google Sheets.

How It Works

  1. Google Sheets – A new row is added (with Name and Email).
  2. Zapier – Detects the new row and sends the data to a Python script via webhook.
  3. Python (Pipedream) – Processes the data (e.g., validates email, creates a greeting) and returns a result.
  4. Zapier – Writes the result back to the spreadsheet, along with a timestamp.

Tech Stack

  • Python 3
  • Pipedream (webhook hosting)
  • Zapier
  • Google Sheets

Setup

  1. Clone this repo.
  2. The core logic is in process_name.py.
  3. Deploy the script as a webhook on Pipedream (or any serverless platform).
  4. Create a Zap with:
    • Trigger: Google Sheets – New Row
    • Action: Webhook – POST to your Pipedream URL
    • Second Action: Google Sheets – Update Row (write back the result)
  5. Test with a new spreadsheet entry.

Files

  • process_name.py – Main Python script (can be used locally or as a webhook).
  • pipedream_version.py – Version adapted for Pipedream’s event object.
  • .gitignore – Ignores Python cache and environment files.

Example

Input (Google Sheets row):

Name Email
Alice alice@example.com

Output:

Name Email Result Timestamp
Alice alice@example.com Hello, Alice! 2025-03-26 12:34:56

Future Improvements

  • Add error handling and logging.
  • Integrate with external APIs (e.g., email validation).
  • Use environment variables for secrets.

About

Custom Python logic triggered by Zapier, processing Google Sheets data and writing results back. A hybrid automation demo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages