Verified User Profile Generator and Delivery - n8n Workflow

Automate user profile creation, including email validation, dynamic PDF generation from HTML, and delivery via Gmail. This powerful n8n workflow logs verified data to Google Sheets.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • SaaS Platforms: Businesses needing to verify user signups before granting access.

  • Membership Sites: Organizations that require robust email validation for their registries.

  • Technical Content Creators: Individuals looking for complex, real-world examples of integration and flow control using an n8n node structure.

  • Automation Engineers: Professionals seeking a ready-to-use n8n templates for document generation and conditional logic.

Overview

Receiving accurate user data is critical, but manually validating emails and generating unique documents is time-consuming. This comprehensive n8n automation template solves this by providing an instant, secure, and professional verification and profile generation system.

The n8n workflow starts with a user submission, instantly verifies the email's validity using a specialized API, and conditionally branches the flow. If verification succeeds, it dynamically generates a stylized HTML profile, converts it into a PDF, attaches the document, and sends a personalized verification email via Gmail. All verified user data is simultaneously recorded in a centralized Google Sheet. If the email is invalid, the user receives a polite rejection notice, ensuring your database remains clean and trustworthy. This intricate n8n node sequence ensures high data integrity and a great user experience.

How it Works

The entire process is orchestrated by a sequence of specialized n8n node operations:


  1. Start: The n8n trigger, a Webhook node, receives new user data (Name, Email, Bio, etc.) via an HTTP POST request.

  2. Verification: The data is passed to the Verifi Email n8n node, which checks the deliverability and validity of the email address.

  3. Conditional Split: An IF node evaluates the verification result.

TRUE Path (Valid Email): The workflow proceeds to the document generation sequence.
FALSE Path (Invalid Email): The workflow executes the Send Rejection Email - Gmail n8n node and terminates.

  1. HTML Generation: On the success path, a Set n8n node generates a complex, dynamic HTML template for the user profile, injecting the received user data.

  2. PDF Conversion: The HTML to PDF n8n node (using HTMLcsstoPDF API) converts the beautiful HTML structure into a high-quality PDF document.

  3. Binary Download: An HTTP Request n8n node downloads the generated PDF file as binary data, preparing it for email attachment.

  4. Email Delivery: The Send Profile Email - Gmail n8n node uses a personalized HTML body, attaches the downloaded PDF binary, and sends it directly to the verified user.

  5. Data Logging: Finally, the Log to Google Sheets n8n node appends or updates the new user's verified details in a master spreadsheet, completing the full automated n8n workflow cycle.

Installation Guide

To deploy this powerful n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON code and import it directly into your n8n instance.

  2. Webhook Setup: Activate the 'Webhook - Receive User Data' n8n trigger. Copy the generated test or production URL, which you will use to send data from your frontend application.

  3. Credentials: Set up the required credentials for the custom n8n nodes:

Verifi Email API: Obtain and configure your API key from verifi.email.
HTML to PDF API: Configure your User ID and API Key from htmlcsstoimg.com.
Gmail OAuth2: Connect your Google account for sending emails.
Google Sheets OAuth2: Connect the same Google account and link the 'Log to Google Sheets' n8n node to your target spreadsheet (ensure the sheet has columns matching Name, Email, City, etc.).

  1. Testing: Run the n8n workflow manually or send a sample JSON payload to the webhook URL to ensure all steps execute correctly and the PDF is generated and delivered.

Node Details

This n8n template utilizes several critical nodes for complex automation:

Webhook - Receive User Data (n8n trigger):
Function: Serves as the starting point, listening for incoming POST requests containing user signup details.
Key Configuration: HTTP Method set to POST; Path set to /create-profile.
Verifi Email (Custom n8n node):
Function: Performs real-time validation of the incoming email address to ensure deliverability and authenticity.
Key Configuration: Input email mapped dynamically using an expression {{ $json.body.email }}.
IF Email Valid? (n8n node):
Function: Directs the flow based on the result of the email verification (valid = true).
Key Configuration: Condition checks if $json.valid is true.
Generate HTML Template (Set n8n node):
Function: Constructs a complex HTML document using embedded CSS and dynamic data expressions to create the user's profile content.
Key Configuration: Creates a variable htmlcontent containing the full parameterized HTML structure.
HTML to PDF (Custom n8n node):
Function: Sends the generated HTML to the PDF service for conversion.
Key Configuration: Input is the {{ $json.htmlcontent }} variable.
Download PDF Binary (HTTP Request n8n node):
Function: Retrieves the actual PDF file as binary data, which is necessary for attaching files in the Gmail n8n node.
Key Configuration: Response format set to file; URL dynamically fetched from the preceding HTML to PDF output ($json.pdf_url).
Send Profile Email - Gmail (Gmail n8n node):
Function: Delivers the verification message and the generated PDF attachment to the user.
Key Configuration: Rich HTML message body; Attachments configured to use the binary output from the previous download step.
Log to Google Sheets (Google Sheets n8n node):
Function: Maintains a record of all successfully verified users.
Key Configuration: Operation set to Append or Update; Maps user data fields (Name, Email, Profession, City, Verified Status) to spreadsheet columns.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by

AI Automation Specialist - OpenAI, CRM & Automation Expert with a solid understanding of various tools that include Zapier, Make, Zoho CRM, Hubspot, Google Sheets, Airtable, Pipedrive, Google Analytics, and more.

Featured*