> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caard.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Fill your CRM's custom fields from CAARD

> Match the custom properties you already have in HubSpot or Odoo with CAARD custom fields, then let forms, events and flows fill them for you.

Your CRM probably already has fields of its own: a *Region* that decides who works the lead, a *Product interest* marketing reports on, a *Budget* or *Buying timeline* sales qualifies with. Leads from events usually arrive with these empty, and nobody goes back to fill them in.

This guide sets up a CAARD custom field for each of those CRM fields, so the values are filled in CAARD, where the lead is captured and worked, and sent to HubSpot or Odoo on every sync. It then shows the ways CAARD can fill them for you and act on them.

1. Write down the CRM fields you want to fill.
2. Create a matching custom field in CAARD for each.
3. Map each field to its CRM field.
4. Fill the fields: at capture, afterwards, or with a flow.
5. Use the fields in flows.

**You need** an admin or sub-admin role for Field Manager, permission to manage integrations, and a connected CRM: [HubSpot](https://docs.caard.net/integrations/hubspot.md#connect-hubspot) or [Odoo](https://docs.caard.net/integrations/odoo.md#connect-odoo). For the flow steps you also need permission to manage the event.

> [!NOTE]
>
> Values go one way, from CAARD to your CRM. CAARD doesn't read custom field values back, so a value your sales team changes in the CRM stays there and isn't copied into CAARD. The [write mode](#3-map-each-field-to-its-crm-field) decides whether CAARD may replace it on the next sync.

## 1. Write down the CRM fields

For each CRM field you want CAARD to fill, note three things: its internal name, its type, and, for a dropdown, its options exactly as the CRM stores them.

> [tab] HubSpot
>
> Go to **Settings → Properties**, pick the **Contact** object (or **Company** for company fields) and open the property.
>
> * The **internal name** is under the label, for example `region` or `product_interest`.
> * For a dropdown, radio select or multiple checkboxes property, open the **Field type** section. Each option has a **label** and an **internal value**. Write down the internal values. They're what CAARD has to send.
>
> Custom properties you created yourself and HubSpot's own properties both work.

> [tab] Odoo
>
> Turn on developer mode (**Settings**, then **Activate the developer mode** at the bottom), open any CRM lead and hover over a field's label. The tooltip shows its technical name and type.
>
> * Fields created with Studio start with `x_studio_`, fields created by hand with `x_`.
> * For a **Selection** field, the tooltip lists the options.
> * For a **Many2one** field, such as a country or a related record, note the model it points to. CAARD fills it by record name, so the records must already exist in Odoo.
>
> Note also which record the field lives on: the **Lead** (`crm.lead`) or the **Contact** (`res.partner`).

If a field doesn't exist yet, create it in the CRM first: in HubSpot under **Settings → Properties → Create property**, in Odoo with Studio or developer mode, as shown in [Create a custom field in Odoo](https://docs.caard.net/integrations/odoo-field-mapping.md#create-a-custom-field-in-odoo).

## 2. Create the matching fields in CAARD

Go to **Admin → Field Manager**, open the **Custom** tab and select **Create field**. Name the field the way your reps will recognise it, then pick the type that fits the CRM field:

| CRM field | CAARD type | Options to enter |
| - | - | - |
| HubSpot dropdown or radio select | **Single select** | The HubSpot **internal values**, spelled exactly, capital letters included |
| HubSpot multiple checkboxes | **Multi select** | The HubSpot internal values |
| HubSpot single checkbox | **Single select** | `true` and `false` |
| Odoo Selection | **Single select** | The Odoo labels or values. Capital letters don't matter |
| Odoo Many2one (country, user, other record) | **Single select** or **Text** | The record names as they appear in Odoo, for example `Germany` |
| Odoo Many2many (tags, campaigns) | **Multi select** | The tag names. Missing CRM tags, campaigns, sources and mediums are created; other records must exist |
| Odoo Checkbox | **Single select** | `yes` and `no` |
| Number, decimal, monetary | **Number** | |
| Date | **Date** | |
| Single-line or multi-line text | **Text** or **URL** | |

![The New field dialog in Field Manager: a Region field of type Single select with the values North America, Europe and Asia Pacific, and a description](https://mintcdn.com/caard/1MU7iJF8aIbNmxDD/images/guides/create-field.webp?fit=max\&auto=format\&n=1MU7iJF8aIbNmxDD\&q=85\&s=c0201c3c0fb43cd68d555eef2b94ae32)

Using a select in CAARD, even where the CRM field is plain text, keeps reps from typing *EU*, *Europe* and *europe* for the same thing. The options are the only values they can pick.

> [!WARNING]
>
> HubSpot rejects a select value that isn't one of the property's internal values. If the HubSpot option is labelled *North America* with the internal value `north_america`, the CAARD option must be `north_america`. Odoo is more forgiving: a Selection option matches by label or value, ignoring capital letters.

## 3. Map each field to its CRM field

Open **Integrations**, then your CRM, and go to the **Field Mapping** tab. Use the **Company Mapping** tab for fields that describe the company rather than the person.

**1. Add a row**

Select **Add mapping** (HubSpot) or **Add** (Odoo).

**2. Pick the CAARD field**

Set the source to **Custom** and pick the field you created.

**3. Pick the CRM field**

Search by label or internal name. The list loads from your CRM, so a field you created a minute ago is there. In Odoo, also pick the record: **Contact** or **Lead**.

![The HubSpot property search on a new Custom mapping row: the Lead Source Category property, with its internal name lead\_source\_category underneath](https://mintcdn.com/caard/1MU7iJF8aIbNmxDD/images/guides/property-search.webp?fit=max\&auto=format\&n=1MU7iJF8aIbNmxDD\&q=85\&s=518af24d38fedfa8e4caf09a188b0dd7)

**4. Pick the write mode**

See the table below.

**5. Save and test**

Save, then select **Send test lead** on the **Overview** tab. CAARD fills each custom field with a sample of its type, so a select option the CRM doesn't accept shows up now rather than on a real lead.

The write mode matters most for fields your sales team also edits in the CRM:

| Write mode | Use it for |
| - | - |
| **Complete if missing** | Fields sales owns once the lead is in the CRM, like *Region* or *Budget*. CAARD fills them for new contacts and never overwrites what a rep set in the CRM. |
| **Overwrite** | Fields CAARD should keep up to date, like *Last event attended* or a qualification your reps set in CAARD. |
| **Append** | Multi-select fields and text that grows, like *Product interest* or *Events attended*. New options are added next to the ones already there. |

An empty value in CAARD never clears a field in the CRM, whatever the mode.

For more on mappings, see [HubSpot field mapping](https://docs.caard.net/integrations/hubspot-field-mapping.md) and [Odoo field mapping](https://docs.caard.net/integrations/odoo-field-mapping.md#custom-fields).

## 4. Fill the fields

A mapped field is only useful if it has a value. CAARD can fill it in several places, most of them without anyone typing.

### When the lead is captured

| Where | How |
| - | - |
| **Event defaults** | On the event's **Details** tab, under **Custom Fields**, set a value that every lead captured at the event gets, for example *Region = Europe* for a show in Munich. See [Event custom fields in HubSpot](https://docs.caard.net/guides/event-custom-fields-hubspot.md#2-set-default-values-on-the-event). |
| **Capture forms** | Add a custom field to a [capture form](https://docs.caard.net/capture/capture-links.md) as a question, for example *What are you interested in?* for *Product interest*. Visitors pick from your options, and the answer fills the field. You can make it required. |
| **CSV import** | Map a column to the custom field in the [import wizard](https://docs.caard.net/capture/import-csv.md). Useful for the attendee list an organiser sends after the show. |

### Afterwards

* **On the lead page**: the custom fields card on the web dashboard. Reps can't edit custom fields in the mobile app yet.
* **For many leads at once**: select leads in the lead list and choose **Custom fields** in the bulk action bar. For example, set *Timeline* on every lead from a breakfast session.
* **With a flow**: a [Set field](https://docs.caard.net/events/flow-steps.md#set-field) step writes a custom field, as in the examples below.

With auto sync on, changing a custom field syncs the lead again, so the CRM gets the new value without a manual sync.

## 5. Use the fields in flows

An event's [flow](https://docs.caard.net/events/event-flows.md) can read and write custom fields. Three patterns cover most needs.

### Don't send a lead until the CRM fields are filled

If your sales team won't work a lead without a *Region* or *Timeline*, make the **Sync to CRM** step wait for them. Select the step, turn on **Needs before it runs** and pick the custom fields.

Until they're filled, the lead stays out of the CRM, the owner gets a notification listing what's missing, and the lead page shows a banner. Once someone fills them in, the lead syncs by itself. [Keep incomplete leads out of your CRM](https://docs.caard.net/guides/flow-crm-only-when-complete.md) walks through this flow.

### Fill a field from what the rep wrote

Reps rarely pick from dropdowns at a busy booth, but they do leave notes and voice notes: *"wants to roll out in Q1, budget signed off"*. A split **Sorted by AI** can read those notes and turn them into a field value:

1. Add a **Split by lead type** step and switch it to **Sorted by AI**.
2. Add a lead type for each option of your field, described in plain words. For *Timeline*: *This quarter*: "Wants to buy or start within three months." *Later*: "Interested, but no plans in the next three months."
3. Under each path, add a **Set field** step that sets *Timeline* to that path's option.
4. Follow it with **Sync to CRM**, so the CRM gets the value straight away.

Sorting uses 1 AI credit per lead and waits 2 minutes after the scan so the rep's notes are in. A rule split on **Notes contains any of** does the same for clear keywords at no AI cost: *Notes* contains any of *demo, trial* → set *Lead status* to `demo_requested`.

### Treat leads differently by a field's value

Filters, conditions and splits by rules can check any custom field: **is**, **is one of**, **is filled**, **is empty**, and **is at least** or **is at most** for numbers. Some examples:

| Rule | What the flow does |
| - | - |
| *Product interest* is one of *Platform, Enterprise* | Drafts a follow-up from the enterprise template |
| *Budget* is at least `50000` | Tags the lead *Hot lead* and notifies the account executive |
| *Region* is *Asia Pacific* | Notifies the APAC team, and sends everyone else to the standard follow-up |
| *Region* is empty | Sets *Region* to `Europe`, the show's region, with a **Set field** step |

Because event defaults, capture forms and flows all write the same field, one rule covers leads however they came in.

## Odoo: assign the sales team per lead

The Odoo [Routing](https://docs.caard.net/integrations/odoo.md#routing) tab puts every new lead from an event in one sales team. If the team depends on the lead instead, for example on its region, use a custom field:

1. Create a single select *Sales team* in CAARD whose options are your Odoo sales team names, exactly as Odoo shows them.
2. Map it to **Lead → Sales Team** with **Complete if missing**.
3. Leave the team empty on the Routing tab. Routing wins over a mapping on the same Odoo field.
4. Fill *Sales team* with an event default, or with a flow: a split on *Region*, then a **Set field** per path.

The same works for any Many2one field whose records already exist in Odoo, such as a country or an industry.

## When a value doesn't arrive

A rejected value is skipped and the rest of the lead still syncs. The job in **Sync History** names the field.

| Symptom | Cause | Fix |
| - | - | - |
| HubSpot rejected the value | A select option doesn't match the property's internal values, or the value doesn't fit the property type | Edit the CAARD option to match the internal value |
| *Skipped unknown property* or an unknown Odoo field | The CRM field was renamed or deleted | Pick the field again on the mapping row |
| Odoo skipped a Many2one value | No Odoo record has that name | Create the record in Odoo, or fix the option's spelling |
| The CRM field stays empty, no note | The lead has no value | Check the lead page. Event defaults only apply to leads captured after you set them |
| The CRM value didn't change | The row uses **Complete if missing** and the field already had a value | Switch to **Overwrite** if CAARD should win |

For other sync errors, see [HubSpot troubleshooting](https://docs.caard.net/integrations/hubspot-troubleshooting.md) and [Odoo troubleshooting](https://docs.caard.net/integrations/odoo-troubleshooting.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.