How to set up custom variables in your flow
In this article
Overview
Custom variables let you choose what information is sent along with the lead in integration flows (CRM, automations, webhooks, etc.).
With this feature, you can standardize, organize, and enrich the data sent, giving you more control over the information that reaches its final destination.

What are custom variables?
Custom variables are fields that store specific information about the lead or where they came from, such as campaign parameters (UTMs), and that can be used during the integration flow. They help you:
- Identify where the lead came from
- Analyze campaigns and channels
- Organize data in your CRM
- Make reports and automations easier
Available default variables
By default, Leadster already provides the main campaign tracking variables:
utm_source– Traffic sourceutm_medium– Campaign medium (e.g., cpc, organic, social)utm_campaign– Campaign nameutm_content– Ad content or variationutm_term– Keyword
These variables are marked as Padrão (Default) and don't need to be created manually.
How do I add a custom variable?
To set up custom variables, follow this path:
- Open the Gerenciar Fluxos (Manage Flows) menu
- Choose the flow you want to set up
- In the flow editor, click Step 3 – Integre com seus sistemas (Integrate with your systems)
- Find the Variáveis Personalizadas (Custom variables) section
- In the Adicionar Variável Personalizada (Add custom variable) field, type the variable name
- Press Enter or click Adicionar (Add)
The variable will be added to the list automatically and can be used when sending data.
Best practices for creating variables
- Use clear, standardized names
- Avoid spaces, accents, and special characters
- Prefer lowercase letters and underscores (
_) - Only create variables you'll actually use in the integration
Example:
origem_leadtipo_produtocanal_venda
How are these variables used in the integration?
Once set up, the variables are:
- Collected during browsing or the conversation
- Sent automatically when the integration fires
- Available in the destination system according to the mapping you set up
This ensures the lead arrives with more context and relevant information.
If you have any questions, contact our support team!
Best regards 👋