> For the complete documentation index, see [llms.txt](https://developer.gyfti.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gyfti.fr/hubspot-integration/sending-gifts-via-hubspot.md).

# Sending gifts via HubSpot

## **Use Case: Send Gifts via HubSpot**

### **What you’ll build**

Send a gift to a contact automatically from a HubSpot workflow using a Gyfti campaign.

***

### **Prerequisites**

Before starting, make sure you have:

* A Gyfti account connected to HubSpot
* A **campaign published in Gyfti** (digital or postal)

***

### **Step 1 — Create a campaign in Gyfti**

Create either:

* **Digital campaign**
  * Allows multiple products
  * Contact chooses their gift via email
* **Postal campaign**
  * One product only
  * Gift is sent directly to the contact

👉 Once created, you will arrive to the campaign details page

***

### **Step 2 — Get the Campaign ID**

* Open your campaign page and check the URL.
* Copy the **campaign ID** from it.&#x20;
  * It looks like: `1775908447578x468627335059121600`

👉 You will need this ID when configuring the HubSpot action.

<figure><img src="https://1285487192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzlFqP7uYkQYXxFfD1DD6%2Fuploads%2FfvpI2TpDPrVy0RA0xYea%2Fimage.png?alt=media&amp;token=6fb6d9ca-b9c1-4e8d-b243-490fcf76e46f" alt=""><figcaption></figcaption></figure>

***

### **Step 3 — Create a HubSpot workflow**

* Go to HubSpot → Workflows
* Create a new workflow&#x20;

***

### **Step 4 — Add Gyfti action**

* Add action:\
  👉 **Send a digital Gyfti campaign**\
  *(or postal depending on your case)*
* Fill in:
  * Campaign ID (from Step 2)

<figure><img src="https://1285487192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzlFqP7uYkQYXxFfD1DD6%2Fuploads%2FxALftQkDJEWiFbB70jag%2Fimage.png?alt=media&amp;token=742f0c91-0992-4a37-bf9f-68ae8fd51277" alt=""><figcaption></figcaption></figure>

***

### **Step 5 — Enroll contacts**

When a contact enters the workflow:

* The contact is added to the Gyfti campaign
* The gift is sent based on campaign type

***

### **What happens next**

#### **Digital campaign**

* The contact receives an email
* They can choose their gift from the available products

#### **Postal campaign**

* The gift is sent directly
* No selection is required

You can verify the contact has been added in your campaign.

<figure><img src="https://1285487192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzlFqP7uYkQYXxFfD1DD6%2Fuploads%2FIQiwYs8m48R1s1jP3YqS%2Fimage.png?alt=media&amp;token=4e3b8355-9109-4ec3-bcaa-b2b81e1ad58a" alt=""><figcaption></figcaption></figure>

***

### **Important notes**

* Postal campaigns require valid address data
* Digital campaigns require a valid email
