When using the Single Form layout, you can insert Dynamic Variables into the Pre-filled Message Template. These variables automatically pull data from the form or your website and send it to WhatsApp when a user submits the form.
✅ Available Variables #
Form Field Variables
{form_fields}→ Inserts all form field values together.{text_1}→ Value from the first text field (e.g., Name).{textarea_2}→ Value from the second textarea (e.g., Message).
Global Variables
{siteTitle}→ Your website’s title.{siteEmail}→ Website email address.{currentURL}→ Current page URL.{currentTitle}→ Current page title.{siteURL}→ Main site URL.{ip}→ Visitor’s IP address.{date}→ Current date.
WooCommerce Variables (wrapped with {PRODUCT_START} … {PRODUCT_END} for conditions)
{productName},{productSlug},{productSku},{productPrice},{productRegularPrice},{productSalePrice},{productStockStatus}
Conditional Blocks
{PRODUCT_START}...{PRODUCT_END}→ Content shown only if WooCommerce product data is available.{NOT_PRODUCT_START}...{NOT_PRODUCT_END}→ Content shown when no WooCommerce product data is available.{LOGGEDIN_START}...{LOGGEDIN_END}→ Content shown only for logged-in users.{NOT_LOGGEDIN_START}...{NOT_LOGGEDIN_END}→ Content shown for visitors who are not logged in.
📌 Example Pre-filled Template #
You have a new inquiry from {siteTitle}.
Name: {text_1}
Message: {textarea_2}
Page: {currentTitle} ({currentURL})
IP: {ip}
Date: {date}
Result in WhatsApp:
You have a new inquiry from MyWebsite.
Name: John Doe
Message: I need help with your services.
Page: Contact Us (https://example.com/contact)
IP: 192.168.0.1
Date: 29 Aug 2025
👉 Using these variables helps you automate WhatsApp messages with form details, so you never miss important context when a user contacts you.
