Actions45
- Evento Actions
- Criar Evento De Acesso Concedido
- Criar Evento De Aguardando Pagamento
- Criar Evento De Boleto Impresso
- Criar Evento De Carrinho Abandonado
- Criar Evento De Nota Nps
- Criar Evento De Pacote Aguardando Retirada
- Criar Evento De Pacote Saiu Para Entrega
- Criar Evento De Pedido Cancelado
- Criar Evento De Pedido Despachado
- Criar Evento De Pedido Entregue
- Criar Evento De Pedido Estornado
- Criar Evento De Pedido Pago
- Criar Evento De Pedido Processando
- Criar Evento De Pesquisa Nps
- Criar Evento De Progresso De Envio
- Criar Evento De Redefinicao De Senha
- Gerenciamento Da Conta Actions
- Grupo De Variável Customizada Actions
- Integração Actions
- Lead Actions
- Lista De Lead Actions
- Variável Customizada Actions
Overview
The node operation "Criar Variável Customizada" (Create Custom Variable) is designed to create a custom variable with specific attributes such as name, description, and data type. This functionality is useful in scenarios where users need to define variables tailored to their business logic or workflow requirements within n8n, enabling dynamic and flexible automation processes.
Practical examples include:
- Creating a custom variable to store a user's CPF (Brazilian individual taxpayer registry identification).
- Defining a variable for email addresses to be used in subsequent workflow steps.
- Setting up option lists or multi-select variables for categorizing data inputs.
Properties
| Name | Meaning |
|---|---|
| Nome | The name of the custom variable to be created. |
| Descrição | A brief description explaining the purpose or details of the custom variable. |
| Tipo De Variável | The data type of the custom variable. Options include: CNPJ, CPF, Email, Inteiro (Integer), Lista De Opções (Option List), Múltipla Seleção (Multi Select), Numérico (Numeric), Texto (Text). |
Output
The output JSON structure is not explicitly defined in the provided source code. However, typically, after creating a custom variable, the node would output an object representing the newly created variable, including its name, description, type, and possibly an identifier or status confirming successful creation.
No binary data output is indicated or expected for this operation.
Dependencies
- The node likely requires access to an external service or API that manages custom variables, authenticated via an API key or similar credential.
- Proper configuration of this authentication within n8n is necessary for the node to function correctly.
Troubleshooting
Common Issues:
- Missing required fields such as "Descrição" may cause the node to fail.
- Providing invalid or unsupported values for "Tipo De Variável" could result in errors.
- Authentication failures if the API key or credentials are not set up properly.
Error Messages:
- Errors related to missing parameters should prompt users to fill in all required fields.
- Authentication errors suggest checking the API key or connection settings.
- Validation errors on the variable type indicate selecting one of the supported options.
Links and References
- No direct links are available from the provided source code.
- For more information on custom variables and their usage, consult the relevant API or platform documentation associated with the external service managing these variables.