> 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-v2/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 **Touch workspace connected to HubSpot** (see Setting up HubSpot)
* A **campaign launched in Gyfti** (digital or postal)
* Enough **budget** on the team behind the workspace: gifts sent from HubSpot spend it like any other send

***

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

Create either:

* **Digital campaign**
  * Contact chooses their gift via email
* **Postal campaign**
  * Gift is shipped directly to the contact's address

Then launch it. Only launched campaigns are offered in HubSpot.

> A postal campaign whose product needs a **delivery appointment** cannot be sent from HubSpot. Send it from the Gyfti app.

***

#### **Step 2: Create a HubSpot workflow**

* Go to HubSpot → Workflows
* Create a new **contact-based** workflow and define its trigger

***

#### **Step 3: Add Gyfti action**

* Add action:\
  👉 **Send a digital gyfti (Gyfti v2)**\
  *(or Send a postal gyfti (Gyfti v2) depending on your case)*
* Pick your campaign in the **Campaign** dropdown. No ID to copy: the list comes straight from Gyfti.
* Map **Email** to the contact's email property. Map the other fields if you want them on the Gyfti contact.
* For a postal gift, also map **Street address**, **Postal code**, **City** and **Country**.

*\[Screenshot: the action panel with the Campaign dropdown]*

***

#### **Step 4: Enroll contacts**

When a contact enters the workflow:

* The contact is created or updated in Gyfti (based on email)
* 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 shipped to the address from HubSpot
* No selection is required

You can check the result in two places:

* In HubSpot, the workflow history shows the action in green with `Recipients added`, or in red with the reason it failed
* In Gyfti, the contact appears in your campaign

*\[Screenshot: the campaign's recipients in Gyfti]*

***

#### **Important notes**

* The contact must have an email: it is how Gyfti identifies them
* Postal campaigns require a full address (street, postal code, city, country)
* A contact already in the campaign is not added twice, even if the workflow runs again
