> For the complete documentation index, see [llms.txt](https://docs.bird.com/taxi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bird.com/taxi/connectors/salesforce-marketing-cloud-connector/sfmc-subject-line-updates.md).

# SFMC Subject Line Updates

Salesforce will be rolling out an update to how they process Nested Variables within Subject Lines which has meant we’ve had to make some updates to the way our Marketing Cloud connector handles these on export.

You can read more about the changes Salesforce are making [here](https://help.salesforce.com/s/articleView?id=000391994\&type=1).

### New settings:

There are three new settings under the SFMC Connector within Taxi, “Always insert the subject line as AmpScript to be evaluated”, “Subject line evaluation function” and “Allow concatenation of variables in subject line”

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-4ccd57b71d1ba4996ddd246c310129981d132168%2FScreenshot%2B2022-11-15%2Bat%2B13.27.04.png?alt=media)

Always insert the subject line as AmpScript to be evaluated

If set to yes (default option) this toggles whether Taxi will set the Subject Line in an Ampscript variable at the bottom of your HTML called @Subjectline which will be pulled into the Subject Line Field in Salesforce.

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-d7c7da267fa20480bbd24c4df7063aac9c92701f%2FScreenshot%2B2022-11-15%2Bat%2B13.27.47.png?alt=media)

If set to no, Taxi will pass the Subject Line to Salesforce as a string where possible\*. This may work for the time being, but the update that Salesforce is making will cause issues with this method if you are using personalisation in your Subject Line like in the below example.

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-7e7b6943b64bc42cf2d1b9ab5fcc056598fb546c%2FScreenshot%2B2022-11-15%2Bat%2B13.28.17.png?alt=media)

*\*Please note that Taxi will always set your Subject Line as a variable when using Segmentation.*

Subject Line evaluation function

This option allows you to choose between using the [v() ](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/v.html)or [TreatAsContent()](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/treatascontent.html?q=treat%20as%20content) function in Salesforce when the Subject line is set as a variable.

If you opt to use the v() function, you will need to allow concatenation of variables in the subject line once Salesforce’s update goes live.

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-654540eee395ff14cc9edf9de027feece045e553%2FScreenshot%2B2022-11-15%2Bat%2B13.29.09.png?alt=media)

*Please read more about the changes Salesforce are making* [*here*](https://help.salesforce.com/s/articleView?id=000391994\&type=1) *to understand which function works best for you.*

Allow concatenation of variables in subject line

This option lets you choose whether to use the concat function in Salesforce when the Subject Line is set as a variable and personalization is being used.

With concatenation:

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-d8904b71c399d127b07444177feeb317196f1b3e%2FScreenshot%2B2022-11-15%2Bat%2B13.29.57.png?alt=media)

Without concatenation:

![](https://2516523503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMq0EQG9Ff46ZMsrIBcVn%2Fuploads%2Fgit-blob-49232cfd6e20ecf4e96997630a4d8ee9cfaef6fc%2FScreenshot%2B2022-11-15%2Bat%2B13.30.27.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bird.com/taxi/connectors/salesforce-marketing-cloud-connector/sfmc-subject-line-updates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
