Actions58
- Acesso - Credenciais
- Canais - Listar
- Contato - Adicionar Etiqueta
- Contato - Adicionar Informações
- Contato - Consultar
- Contato - Editar Perfil
- Contato - Encaminhar
- Contato - Importar
- Contato - Listar Protocolos
- Contato - Listar Todos
- Contato - Mensagem - Enviar
- Contato - Mensagem - Enviar Imagem + Legenda
- Contato - Pesquisar
- Contato - Remover Etiqueta
- Contato - Status De WhatsApp
- Etiquetas - Listar Todos
- Extra - Cep - Pesquisar
- Extra - Cnpj - Pesquisar
- Extra - Coordenadas - Pesquisar
- Extra - Cpf - Pesquisar
- Extra - CSV - Formatar
- Extra - Nome - Pesquisar
- Extra - Titularidade - Pesquisar
- Extra - Transcrição - Documentos
- Extra - Transcrição - Imagem EN
- Extra - Transcrição - Imagem PT
- Grupos - Adicionar Contato
- Grupos - Listar Contatos
- Grupos - Listar Todos
- Grupos - Remover Contato
- Grupos - WhatsApp - Histórico
- Grupos - WhatsApp - Listar
- Grupos - WhatsApp - Membros
- Marketing - Campanha - Listar
- Marketing - Campanha - Resumo
- Marketing - Mensagem - Enviar
- Marketing - Mensagem - Listar
- Marketing - Mensagem - Status
- Produto - Categoria - Listar
- Produto - Listar
- Protocolo - Consultar
- Protocolo - Encaminhar - Recado
- Protocolo - Finalizar
- Protocolo - Listar - Todos
- Protocolo - Mensagem - Enviar
- Protocolo - Mensagem - Listar
- Protocolo - Observações - Adicionar
- Protocolo - Observações - Listar
- Protocolo - Pesquisar
- Recados - Listar - Todos
- Recados - Pesquisar
- Setor - Listar - Todos
- Templates - Listar - Todos
- Usuário - Agenda - Listar
- Usuário - Carteira - Adicionar
- Usuário - Carteira - Listar
- Usuário - Carteira - Remover
- Usuário - Listar - Todos
Overview
This node integrates with a WhatsApp relationship platform, offering many operations related to contacts, messaging, groups, marketing campaigns, protocols, and extra data lookups. Specifically, the "Extra - CSV - Formatar" operation allows users to download and process CSV files from a given URL, formatting the CSV data according to selected types such as phone numbers only, phone plus name, phone plus CPF (a Brazilian individual taxpayer registry identification), or phone plus CPF plus CNPJ (Brazilian company registry number). This is useful for workflows that require importing or transforming contact lists or customer data stored in CSV format into structured formats suitable for further processing or messaging.
Practical examples:
- Importing a CSV file containing just phone numbers to send WhatsApp notifications.
- Processing CSVs with phone and name columns to personalize messages.
- Handling CSVs with tax identifiers (CPF/CNPJ) alongside phone numbers for compliance or segmentation.
Properties
| Name | Meaning |
|---|---|
| Formato Do CSV | Select the type of CSV data format to process. Options: "Apenas Telefone" (phone only), "Telefone + Nome", "Telefone + CPF", "Telefone + CPF + CNPJ". |
| URL | The URL of the CSV file to download and process. |
Output
The node outputs JSON data representing the processed CSV content formatted according to the selected type. Each item corresponds to a row in the CSV, parsed and structured based on the chosen format (e.g., phone only, phone with name, etc.). This output can be used downstream in workflows for messaging, contact management, or data enrichment.
If binary data is involved (not explicitly shown here), it would typically represent downloaded CSV files or attachments, but this node focuses on JSON output of parsed CSV data.
Dependencies
- Requires an active connection to the WhatsApp relationship platform via an API key credential.
- Needs internet access to download CSV files from provided URLs.
- No other external services are explicitly required for the CSV formatting operation.
Troubleshooting
- Common issues:
- Invalid or inaccessible CSV URL leading to download failures.
- Malformed CSV files causing parsing errors.
- Selecting a CSV format that does not match the actual CSV structure, resulting in missing or incorrect fields.
- Error messages:
- Errors related to network connectivity or URL accessibility should be checked by verifying the URL and network permissions.
- Parsing errors may indicate the CSV file is not properly formatted or uses unexpected delimiters.
- Resolutions:
- Ensure the CSV URL is correct and publicly accessible or accessible with proper authentication if needed.
- Validate the CSV file format matches the selected "Formato Do CSV" option.
- Use CSV files with consistent column headers and data types expected by the node.
Links and References
- CSV File Format
- WhatsApp Business API Documentation
- General n8n documentation on HTTP Request Node for downloading files (related concept)