> For the complete documentation index, see [llms.txt](https://help.blings.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blings.io/integrations-crm-guides/salesforce-marketing-cloud.md).

# Salesforce Marketing Cloud

### **Using personalization strings in Salesforce Marketing Cloud**

In Salesforce Marketing Cloud (SFMC), personalization strings let you insert subscriber attributes (like first name, email, or custom fields) into your messages. To use them in Blings:

1. Open any **email** in Content Builder or Email Studio.
2. Click to edit a text block.
3. In the toolbar, click **Personalization → Insert Attribute** (sometimes shown as *Insert → Personalization String*).

   <figure><img src="/files/TC8wsYbS73JQvUuLLgeE" alt=""><figcaption></figcaption></figure>
4. Select the attribute you want (e.g. First Name).
5. The token will appear inline as raw code. For examples: First Name → `%%FirstName%%`
6. Copy the token and paste it into the relevant variable in the Blings **Connect** page.

For more details, see [Salesforce’s guide](https://www.salesforce.com/eu/marketing/email/personalization/)

### Using Merge Fields in Salesforce CPQ

In Salesforce CPQ, your template content can store fields that show field values from different objects. These merge fields are automatically updated in your content when the referenced field is updated on the other object. This process is useful if you want template content to reflect changes made elsewhere in your org.

<figure><img src="/files/4nLXmAYtEcmilM9YoI0j" alt=""><figcaption></figcaption></figure>

1. In the toolbar, click Insert merge field.
2. In the Merge Field pop up, select the Merge Field you need and insert it into your email.

<figure><img src="/files/ELvBRxegEfBrHgltIyYC" alt=""><figcaption></figcaption></figure>

<details>

<summary>Troubleshooting</summary>

| Issue                 | Fix                                                 |
| --------------------- | --------------------------------------------------- |
| Broken link in test   | Ensure DE column names match personalization string |
| Extra `&amp;` encoded | Use *HTML Paste* block not *Text*                   |

</details>

**Official Resources:**

* [SFMC: Personalization Strings](https://help.salesforce.com/articleView?id=mc_es_personalization_strings.htm)
* [SFMC: AMPScript Syntax & Functions](https://developer.salesforce.com/docs/atlas.en-us.mc-programmatic-content.meta/mc-programmatic-content/ampscript_syntax_and_functions.htm)
* [SCPQ: Merge Fields](https://help.salesforce.com/s/articleView?id=sales.cpq_merge_fields.htm\&type=5)
* [SFMC: Personalizing Merge Fields](https://help.salesforce.com/s/articleView?id=mktg.mktg_content_personalization_merge_fields.htm\&type=5)
