tr Skip to content
Spreadsheets & Data

When form submission is received in Contact Form 7, call PHP Date() function to get the current date and time using PHP Functions Module, and add the data to Google Spreadsheets

A Contact Form 7 submission triggers PHP Functions to stamp the exact date and time, then logs everything as a new Google Sheets row, giving you precise timestamps on every entry.

Contact Form 7Contact Form 7 PHP Functions by FlowMatticPHP Functions by FlowMattic Google SheetsGoogle Sheets
~5 min setup used by 1.3k sites

Free · import into FlowMattic in one click

How it works

Every step, explained

Import the template and this whole chain runs on autopilot — here's exactly what happens on each run.

Contact Form 7 → PHP Functions by FlowMattic → Google Sheets
3 steps
Contact Form 7
TRIGGER
Contact Form 7 · New Form Submission
The workflow starts whenever a "New Form Submission" event happens in Contact Form 7, capturing its data for the steps below.
PHP Functions by FlowMattic
ACTION
PHP Functions by FlowMattic · Call PHP Function
PHP Functions by FlowMattic — call any PHP function and pass data from your workflow. Data is mapped from earlier steps; connect your PHP Functions by FlowMattic account on import.
Google Sheets
ACTION
Google Sheets · New Spreadsheet Row
Google Sheets — trigger when a new row is added to the spreadsheet. Data is mapped from earlier steps; connect your Google Sheets account on import.
Why this workflow

Built to own, not to rent

No-code setup

Import the JSON, connect your accounts, and go live in minutes. Every step is pre-mapped — you only add your own credentials.

Runs on your server

Self-hosted on your WordPress install. No per-task fees, no data leaving your infrastructure, no monthly SaaS bill.

Fully customizable

Open it in the visual builder and reshape it — add branches, swap apps, insert filters. A starting point, not a cage.

Ready to automate your WordPress site?

Download this workflow free, or grab FlowMattic and own every automation on your site — no per-task fees, ever.