Skip to content
English - United States
  • There are no suggestions because the search field is empty.

How to set up custom variables in your flow

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 source
  • utm_medium   – Campaign medium (e.g., cpc, organic, social)
  • utm_campaign   – Campaign name
  • utm_content   – Ad content or variation
  • utm_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:

  1. Open the Gerenciar Fluxos (Manage Flows) menu
  2. Choose the flow you want to set up
  3. In the flow editor, click Step 3 – Integre com seus sistemas (Integrate with your systems)
  4. Find the Variáveis Personalizadas (Custom variables) section
  5. In the Adicionar Variável Personalizada (Add custom variable) field, type the variable name
  6. 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_lead  
  • tipo_produto  
  • canal_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 👋