Pular para o conteúdo principal

Contact Form to Data Table for n8n

Um formulário de contato no n8n que salva cada mensagem como uma linha de uma tabela de dados: dois workflows para importar, tabela criada com um clique e n8n 2.48.7 no Docker.

  • n8n
  • n8n Form Trigger node
  • n8n Data table node
  • Docker Compose
  • Docker Engine

Capturas de tela

Captura 1 de 7: Capa de Contact Form to Data Table for n8n: a promessa, as etiquetas de tecnologias, um terminal com docker compose up -d e o n8n iniciado, e o formulário em um celular.

Capa de Contact Form to Data Table for n8n: a promessa, as etiquetas de tecnologias, um terminal com docker compose up -d e o n8n iniciado, e o formulário em um celular.

Pagamento único

  • ₹ 99+ GST, ₹ 116,82 no total
  • US$ 2
  • Baixe na sua biblioteca assim que o pagamento for confirmado.
  • Todas as versões futuras deste projeto estão incluídas, sem custo adicional.
Versão mais recente
1.0.0 · 21 de nov. de 2026

Visão geral

O código-fonte completo de um formulário de contato feito com n8n. Cada mensagem que um visitante envia é salva como uma linha em uma tabela de dados do n8n, e o visitante vê Form Submitted só depois que ela é salva. Inclui o workflow do formulário, um workflow que cria a tabela com um clique e um arquivo do Docker Compose com o n8n 2.48.7. Testado no macOS com Docker Desktop.

Um formulário de contato costuma ser a primeira coisa que vale a pena automatizar. Contact Form to Data Table for n8n entrega um que funciona: importe dois workflows, execute um deles uma vez, publique o outro, e cada mensagem chega a uma tabela que você pode ler, ordenar e baixar. Cada passo foi testado em execuções reais no macOS com o n8n 2.48.7 e o Docker Desktop.

O que ele faz

  • Coloca um formulário de contato no ar. Nome, e-mail e mensagem, os três obrigatórios, em um endereço fixo do seu n8n: /form/contact.
  • Confere o e-mail. O formulário recusa um endereço inválido antes de enviar qualquer coisa.
  • Salva cada mensagem como uma linha. Cada mensagem vira uma linha da tabela de dados Contact messages, com o horário em que chegou.
  • Diz a verdade ao visitante. O visitante vê Form Submitted só depois que a mensagem é salva. Se o salvamento falhar, ele vê Problem submitting response em vez de uma confirmação falsa.
  • Cria a própria tabela. Um workflow de configuração cria a tabela e as colunas com um clique. Executá-lo de novo não muda nada.
  • Roda o n8n para você, se precisar. O compose.yml inicia o n8n 2.48.7 no Docker, acessível só pelo seu computador.

Instalação

  1. Descompacte o arquivo e abra um terminal na pasta dele.
  2. Inicie o n8n com docker compose up -d. Pule este passo se você já usa o n8n 2.
  3. Abra http://localhost:5678 e crie sua conta de proprietário.
  4. Importe os dois workflows da pasta workflows.
  5. Execute Set up the Contact messages table uma vez e depois publique Contact form to data table.

Cada passo com capturas de tela: How to Set Up and Run the Contact Form to Data Table for n8n (abre em uma nova aba) (em inglês).

Bom saber

  • Privado por padrão. O n8n incluído só escuta no seu computador. Para receber mensagens dos visitantes do seu site, execute os workflows em um n8n que esteja online.
  • O n8n não vem incluído. O compose.yml baixa a imagem oficial do n8n, e a licença do próprio n8n se aplica a ele.
  • Testado no macOS com Docker Desktop.

Aprenda como funciona

O n8n Tutorial for Beginners (abre em uma nova aba) gratuito (em inglês) ensina o n8n desde o começo, e a Part 2: Build Your First n8n Workflow (abre em uma nova aba) (em inglês) monta este formulário passo a passo.

n8n é uma marca da n8n GmbH. Docker é uma marca da Docker, Inc. Os demais nomes são marcas de seus respectivos donos.

Série de tutoriais gratuita

n8n Tutorial for Beginners

Prefere aprender construindo? Este guia gratuito e passo a passo no nosso blog mostra como o projeto é feito.

Ler a série (abre em uma nova aba)

O que você leva

Tudo o que está no arquivo, em um relance.

  • A versão 1.0.0 do código-fonte completo: dois workflows do n8n, um arquivo do Docker Compose e um README
  • O workflow do formulário de contato: um formulário do n8n com nome, e-mail e mensagem que salva cada mensagem em uma tabela de dados
  • Um workflow de configuração que cria a tabela Contact messages com um clique
  • Um formulário que confirma só depois que a mensagem é salva, e mostra um erro se o salvamento falhar
  • compose.yml com o n8n 2.48.7, privado ao seu computador, e um arquivo de configurações de exemplo
  • Um README com os passos de instalação, as configurações, a solução de problemas e a limpeza

Feito com

As versões e os ambientes exatos com que foi criado e testado.

  • n8n2.48.7
  • n8n Form Trigger node2.6
  • n8n Data table node1.1
  • Docker Compose5.7.0
  • Docker Engine29.9.3

O que há no arquivo

A árvore de pastas que você recebe ao descompactar.

contact-form-data-table-n8n/

  • .env.example
  • .gitattributes
  • .gitignore
  • README.md
  • compose.yml
  • workflows/
    • contact-form-to-data-table.json
    • set-up-contact-messages-table.json

O que ele precisa de você

As contas e os serviços que ele espera encontrar, para nada surpreender.

  • n8n 2 rodando por sua conta (a Community Edition gratuita basta), ou o Docker para rodar o n8n incluído
  • Docker Desktop no macOS ou no Windows, ou Docker Engine no Linux, para usar o compose.yml
  • Uma porta livre no seu computador, 5678 por padrão
  • Um n8n online, se você quiser receber mensagens dos visitantes do seu site

Versões

Todas as versões até agora, da mais recente para a mais antiga.

  1. 1.0.0Mais recente

    Primeira versão do código-fonte completo.

    • Um workflow de formulário de contato que salva cada mensagem como uma linha em uma tabela de dados do n8n.
    • Um workflow de configuração que cria a tabela Contact messages com um clique.
    • n8n 2.48.7 no Docker com compose.yml, testado no macOS.

Source Code Licence

O que você pode fazer com ele

What you may and may not do with the source code you buy.

Ler a licença completa
  1. What this licence covers

This licence governs every file included in a product you buy from Dewiride Store: source code, configuration, database scripts, sample data, documentation and any other file in the download. It takes effect when your payment is confirmed and applies to every release of that product that reaches your library. Files that reach your library through an annual updates membership are governed in exactly the same way.

It forms part of the Terms of Sale and Use. Where a product page states different or additional licence terms for that product, those terms prevail for that product. The membership page may likewise state different or additional licence terms for the files a membership carries, and those terms then prevail for those files.

  1. The licence we grant you

We grant you a perpetual, worldwide, non-exclusive, non-transferable licence to use, reproduce, adapt, translate and modify the files, and to include the result in your own work, on the conditions set out below.

Perpetual means it does not expire. Worldwide means it is not limited to any country. Non-exclusive means we license the same product to other customers. Non-transferable means you cannot pass it on to someone else.

The licence is granted to you — either you personally, or the organisation you identified when buying. Everyone working within that organisation may use the files for that organisation’s projects. Nobody outside it may.

  1. What you may do
  • Use and change the files in your own projects, commercial or otherwise, with no limit on the number of projects.
  • Build a product or a service on them and charge your own customers for it.
  • Deploy the result for a client, as part of work you are doing for that client.
  • Distribute the result in compiled, deployed or otherwise non-source form.
  • Keep as many back-up copies as you reasonably need.
  • Study, observe and test how the code works, and obtain the information you need to make it work with your own software.

The last two are yours by law under sections 52(1)(aa) to (ac) of the Indian Copyright Act, 1957, and nothing in this licence is intended to take them away.

  1. What you may not do
  • Resell, sublicense, redistribute or publish the files themselves, in whole or in substantial part, in source form.
  • Include them in a template, starter kit, course, tutorial repository or component library that you sell or give away, where the code is the thing being supplied.
  • Share your account, your download links or your invoices with anyone outside your organisation.
  • Publish the files in a public repository, or in any other place where they can be obtained without buying them.
  • Remove or obscure the copyright and attribution notices in the source files.
  • Use the files to build something whose main purpose is to compete with Dewiride Store as a supplier of the same code.

The distinction that matters is simple: you may sell what you build with the code; you may not sell the code.

  1. Third-party components

Our products depend on open-source libraries, frameworks and services that we did not write. Those remain under their own licences, which we do not and cannot change. Where a product includes or requires such a component, its licence is named in the product’s documentation, and complying with it is your responsibility.

  1. Releases

Every release of a product you own is covered by this same licence and appears in your library at no extra cost. A release you have already downloaded remains licensed to you even if we later stop publishing the product. A release that reached your library through an annual updates membership is licensed to you on these same terms, and stays licensed after the period that carried it has ended.

  1. Ownership

We keep ownership of the files and of the copyright in them. You own whatever you create with them: your changes, your additions and the product you build are yours.

  1. If this licence ends

This licence ends if you materially breach it and do not put the breach right within thirty days of us asking you to in writing. It also ends if your payment is reversed or refunded, because the purchase it depends on no longer stands. Where a membership period is refunded or reversed, the licence ends for the releases that period carried and for nothing else: anything you bought separately, or that another period carried, is unaffected.

If it ends, you must stop using the files and delete the copies you hold. Work you had already delivered to a client before that point may continue in use, so that ending this licence never breaks something your own customer relies on.

  1. No warranty beyond the description

The warranties and limits in section 19 and section 20 of the Terms of Sale and Use apply to this licence as well.

  1. Governing law

This licence is governed by the law of India, and section 24 of the Terms of Sale and Use applies to any dispute about it. If a translation and the English version differ in meaning, the English version governs.