# Send your WhatsApp data to HubSpot using Chatbot

> **Who can use this Card?**
>
> * Gallabox Users having permission to either build and deploy bots or manage bots.
> * Available on Scale and Pro Plans.

## Overview

Step into seamless customer relationship management with our guide on connecting and optimizing HubSpot. Whether you're creating a new connection or configuring the "**Create or Update Contact**" action, this documentation provides a comprehensive walkthrough to integrate HubSpot effortlessly into your chat-flow.

## Connect HubSpot CRM

1. Choose the connector - **HubSpot** from the list of connectors or search **HubSpot** from the Search bar.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FDJFr3z3wS0S2ibxkh58d%2FConnector%20-%20Hubspot.gif?alt=media&#x26;token=2669b071-84c2-4d46-b00d-d71f5c5e7430" alt=""><figcaption></figcaption></figure>

2. Click on the Action - Create or Update Contact and you will be asked to create a connection or choose from already existing connection.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F0hgLiufzJvwKjomlo5oy%2FChoose%20or%20create%20connection.gif?alt=media&#x26;token=efd7535d-5088-4031-a92d-7b51e60a7f3b" alt=""><figcaption></figcaption></figure>

3. If you haven't made any connection, see if the Connection Name is fine with you and click on Create Connection. Clicking on **Create Connection** will open a pop-up asking you to either create a new HubSpot account or Sign in to your HubSpot account. Once you sign in, you have to provide the access to your HubSpot account.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FzR5q5CoNgILncWMa4UCy%2FHubSpot-OAuth-Google-Chrome-2023.gif?alt=media&#x26;token=5f3e7637-e738-41a5-8e11-158b8522e6d1" alt=""><figcaption></figcaption></figure>

## Using the HubSpot Connector

### Create or Update Lead

1. &#x20;Click on the Connection you created by clicking on **Connect** and you will be redirected to the Action - **Create or Update Contact**. <br>

   <figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FTovVpg5NmTvEYW3icdH4%2FHubspot%20-%20Create%20or%20Update%20Lead.gif?alt=media&#x26;token=a00e9bb3-c8d1-4f7a-a190-6063b9d1041a" alt=""><figcaption></figcaption></figure>

2. The required field to add is Email. Apart from this, if you want to push any other field you captured say Order Date, or Lead Status, or Lifecycle stage you can click on Optional Fields to push the corresponding values.\
   Zoho has 43 optional Fields to choose from. <br>

   <figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F72BjOi5Z4IfDLBhTavJG%2FHubSpot%20-%20Action.gif?alt=media&#x26;token=620b5222-bd63-420e-b349-7304e192b2a3" alt=""><figcaption></figcaption></figure>

All the details of the customers captured after they interact with the chat-flow having HubSpot Connector will be pushed to the connected HubSpot account.&#x20;

{% hint style="info" %}
Make sure to add the right variables as values for all the fields.&#x20;
{% endhint %}

With your HubSpot connector configured, effortlessly manage customer details by mapping required fields like Email and exploring optional fields like Order Date or Lead Status. This guide ensures a smooth connection, enabling the capture and transfer of customer information seamlessly into your HubSpot account for enhanced CRM capabilities.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gallabox.com/bots/bot-connectors/send-your-whatsapp-data-to-hubspot-using-chatbot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
