> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ajuda.greatsoftwares.com.br/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to integrate GREATPAGES via WEBHOOK with EGOI

To create a Webhook integration with E-goi, where the leads registered in GreatPages are sent to that tool, follow the step by step below:

###### In E-goi (Generate the receiving URL):

1. **Access your E-goi account** and go to "**Contacts"** or "**Automations**";
2. **Choose the list** where the data should be added or create a new automation (such as a "Relationship" flow);
3. **Find the Webhooks option** or drag the "Webhook" block into the automation flow;
4. **Create a new integration/webhook**, provide a name and **generate the URL** (the E-goi "Endpoint");
5. **Copy this URL**, since that is where your other system will send the data;
6. **Define the events** that E-goi should notify (e.g.: new subscription, message opened, etc.) and save.

###### In GreatPages (Configure the integration):

1. **Access your page** in GreatPages and click on the **"Editar"** button;
2. **Select the form** you want to integrate;
3. In the side menu, click on **“Configurar” > “Integrações”**;

![Select Webhook](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/webhook_1e67tiu.png =573xauto)

4. Choose the sending type:
* **POST** (recommended for simple integrations)
* **POST + JSON** (recommended for tools that require a JSON structure, such as Make, Integromat, etc.)

![Select "POST+JASON"](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/webhook-postjson_jwtjgl.png =588xauto)

5. In the **Webhook URL** field, paste the link generated by the destination tool.

![Integration URL](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/webhook-url_b0ieam.png)

6. After that, map the form fields with the names/variables that the other platform expects to receive.
Example:
* **Nome** → `first_name`
* **Email** → `email`
* **Telefone** → `phone`
* Click on **“Salvar”**.

![Configure variables](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/campos-integracao-webhook_tf5r08.png)

###### 🧪 How to test:

1. Access the published page.
2. Fill out the form with test data.
3. Check on the destination platform (e.g.: Make, CRM, spreadsheet, etc.) whether the data was received correctly.

###### ⚠️ Important tips:

* The field names must **be exactly** **the same** as the ones E-goi expects.
* The Webhook URL must be **active and ready to receive data**.
* Fields with wrong or missing names can make the integration fail (without warning).

Still have questions? Reach out to our team on Chat! We're always happy to help. <3  