WordPress Plugin

CF7 → PDF
& Excel Sheet

Automatically convert Contact Form 7 submissions into professionally formatted PDF documents and Excel spreadsheets — then deliver both as email attachments, instantly.

⚡ WordPress 📋 Contact Form 7 📄 PDF 📊 Excel ✉️ Email
// Submission Pipeline
📋
Form Submitted
Contact Form 7 captures data
⚙️
Plugin Processes
Data structured & formatted
📦
Files Generated
📄 PDF Summary 📊 Excel Sheet
✉️
Email Dispatched
Both attachments delivered automatically

2
File formats generated
Minimal
Manual effort needed
100%
Data captured from form
CF7
Native integration

Every feature, built with purpose.

A single plugin that closes the loop between your web form and your back-office — no manual exports, no copy-pasting.

📄
PDF Generation
Converts each form submission into a clean, well-structured PDF document — formatted and ready to archive or share.
📊
Excel Export
Builds a structured Excel (.xlsx) spreadsheet from submission data, making filtering, sorting, and analysis effortless.
✉️
Auto Email Delivery
Fires an automated email with both the PDF and Excel attached the moment a form is submitted — zero delay.
CF7 Native
Hooks directly into Contact Form 7 submission events — no extra configuration or third-party bridges required.
🔒
Structured Data
All sections — Business Details, Communicators, Logins, Shop Rates, and Sublet Providers — are mapped precisely into both file formats.
🎯
Custom Per Client
Built to match the exact schema of the Virtual Estimator onboarding form — easily adaptable for any CF7 structure.

See the full workflow.

From the web form through to the email inbox — every step captured.

Frontend_Form — Virtual Estimator CF7 Form
Frontend Form
Form_Successful_Submission Success State
Successful Submission
Email_Received_with_PDF_And_Excel Gmail
Email received

Two files. Instantly.

Every submission produces a polished PDF report and a structured Excel spreadsheet — both attached to the outbound email.

📄 PDF Output

📄
PDF Summary
.pdf
📄
PDF — Page 2
.pdf
📄
PDF — Page 3
.pdf

📊 Excel Output

📊
Excel Spreadsheet
.xlsx
📊
Excel — VE Logins & Shop Rate
.xlsx
📊
Excel — Sublet Providers
.xlsx
📄 View Full PDF 📊 Download Excel

How it works under the hood.

Four clean steps from form submit to delivered attachments.

01
CF7 Submission Hook
The plugin listens to the wpcf7_mail_sent action hook. The moment a user submits the form, the plugin fires and captures all field values from the submission object.
add_action( 'wpcf7_mail_sent', 'cf7_generate_attachments' );
02
PDF Generation
Submission data is passed into a PDF rendering function. All sections — Business Details, Communicators, Login Credentials, Shop Rates, and Sublet Providers — are laid out in a clean, structured document.
03
Excel Sheet Creation
The same structured data is written into an .xlsx file using a PHP spreadsheet library. Each data group occupies clearly labelled rows, making the file immediately usable for review or import into other systems.
04
Automated Email Dispatch
Both files are attached to a notification email using WordPress's wp_mail() function with the $attachments parameter. The email is sent to the configured recipient — no manual step needed.
wp_mail( $to, $subject, $body, $headers, $attachments );