{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Integrations","type":"markdown"},"seo":{"title":"Salesforce Marketing Cloud Output Data Streaming","description":"Send transactional emails from Treasure Data to Salesforce Marketing Cloud using the Transactional Message API, enabling real-time email triggers and custom marketing workflows.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"salesforce-marketing-cloud-output-data-streaming","__idx":0},"children":["Salesforce Marketing Cloud Output Data Streaming"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce Marketing Cloud (SFMC) is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["a digital marketing platform that automates marketing across email, social media, mobile apps, SMS, websites, and more."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With this integration you can send transactional emails messages with real-time trigger activations"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of Treasure Data"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of SFMC, including knowledge about ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/transactional-messaging-get-started.html"},"children":["Transactional Messaging"]}," features"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Login credentials for your Salesforce Marketing Cloud account"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api-information","__idx":2},"children":["API Information"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data uses the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/transactional-messaging-api.html"},"children":["Transactional Message API"]}," to direct SFMC to send email messages. The documentation on the Request Body of this API can be very helpful in setting up email on SFMC."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-cases","__idx":3},"children":["Use Cases"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The primary use case for this streaming integration is to incorporate it into a real-time activation workflow to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Trigger an email delivery on SFMC"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Trigger a pre-defined Customer Journey on SFMC"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here is an overview of how to configure that workflow to trigger an email delivery:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the SFMC website, configure the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/transactional-messaging-get-started.html"},"children":["Transactional Messaging"]}," features necessary to send emails."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the SFMC website, create and install an ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/salesforce-marketing-cloud-import-integration-v2#h2__78391380"},"children":["Enhanced Functionality Package"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create an authentication for this integration to communicate with Salesforce Marketing Cloud."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In a Real-time Journey, select this authentication for a new triggered activation."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To trigger a SFMC Customer Journey, the target journey must be predefined on the SFMC Journey Builder using the API Event as an entry event."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requirements-and-limitations","__idx":4},"children":["Requirements and Limitations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Currently, this connector does not support OAUTH authentication."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Currently, this connector does not support Transactional SMS messages."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You cannot use this connector to import data into Treasure Data"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You cannot issue queries to Treasure Data using this connector."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The connector communicates with the SFMC v2 server/instance endpoint via HTTPS."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The HTTPS and SSL/TLS encryption are enforced by SFMC v2 servers and are checked by TD before processing."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"static-ip-address-of-treasure-data-integration","__idx":5},"children":["Static IP Address of Treasure Data Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your security policy requires IP whitelisting, you must add Treasure Data's IP addresses to your allowlist to ensure a successful connection."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Please find the complete list of static IP addresses, organized by region, at the following ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers"},"children":["document"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"obtaining-the-sfmc-client-id-and-client-secret","__idx":6},"children":["Obtaining the SFMC Client ID and Client Secret"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you have not already done so, you will need to create and install an ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/salesforce-marketing-cloud-import-integration-v2#create-enhanced-package-integration"},"children":["Enhanced Functionality Package"]}," in SFMC before you can retrieve your Client ID and Client Secret."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to your Salesforce Marketing Cloud account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the Welcome Page, select your name in the top right corner and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230537.e0bcdfcb7e2561762c7696348017cbdacc5ba65f7f802d2418ee8b77d769242c.3816ae6c.png","alt":""},"children":[]}," ","3. On the left side menu of new screen, navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Installed Packages."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230529.3bd5b94dddc4591cf914ae0be5d747aebc089a800d9012bc4f065f79b0894c19.3816ae6c.png","alt":""},"children":[]}," ","4. On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Installed Packages"]}," screen, scroll down to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Components"]}," panel."," ","5. Take note of the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Id"]},",",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication Base URI."]}," You use this information to create the authentication for the Treasure Console."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-143214b.f7931fe40607d334150225731e087a6d6e081dd2c1f1fa5271459e8b7b068ba0.9c62b5b9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-the-treasure-console-to-create-your-connection","__idx":7},"children":["Use the Treasure Console to Create Your Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must create and configure the data connection in Treasure Data. As part of the data connection, you provide authentication credentials to access the integration."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure Console"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub > Catalog"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the search icon on the far right of the Catalog screen, and type ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce Marketing Cloud Output Data Streaming"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Hover over the Salesforce Marketing Cloud Output Data Streaming connector and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sfmcstreamingout.4dd31bf2666e9cf8dd332c3f662d83d3fb986d63be3882c19cceb5c4caab2d1b.9c62b5b9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the required credentials."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sfmcstreamingoutauthentication.e5cb655097785e75db56a710cecdb493c68b4ad64988f3a9a097fda3e479238f.9c62b5b9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a name for your connection."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Authentication Fields"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Client Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The Client ID of your Salesforce Marketing Cloud. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/salesforce-marketing-cloud-output-data-streaming#h1_576637889"},"children":["Obtaining SFMC Client ID and Client Secret"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Client Secret"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The Client Secret of your Salesforce Marketing Cloud. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/salesforce-marketing-cloud-output-data-streaming#h1_576637889"},"children":["Obtaining SFMC Client ID and Client Secret"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authentication Base URI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The URI where the authentication will be performed. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/salesforce-marketing-cloud-output-data-streaming#h1_576637889"},"children":["Obtaining SFMC Client ID and Client Secret"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account Identifier or MID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Marketing Cloud Member ID. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://salesforce.vidyard.com/watch/WEjEkkwn9onVyPYKyM6h5t"},"children":["How to Find Your Marketing Cloud Member ID (MID)"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After configuring the Salesforce Marketing Cloud Output Data Streaming integration, it is now available to be incorporated into real-time customer journey activations. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/creating-a-real-time-triggered-activation"},"children":["Creating a Real-time Triggered Activation"]}," for additional information."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retry-and-logging-logic","__idx":8},"children":["Retry and Logging Logic"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The connector will retry to send the request when it gets the status code 429, 500, 502, 503, or 504."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the request is sent successfully before the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]}," is reached, the logging will show successfully."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the request still fails after reaching the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]},", the connector will stop the job."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["We will see the error message and the status code in the client's activation table whenever the request sent fails."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]}," can be configured in the Activation Config."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sfmcstreamingoutactivation.fa1dea403c97cf2edfd1135f754ff044c0c36075dad6c8c28159c578a6a3c9c0.9c62b5b9.png","alt":""},"children":[]}]}]}]},"headings":[{"value":"Salesforce Marketing Cloud Output Data Streaming","id":"salesforce-marketing-cloud-output-data-streaming","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"API Information","id":"api-information","depth":2},{"value":"Use Cases","id":"use-cases","depth":2},{"value":"Requirements and Limitations","id":"requirements-and-limitations","depth":2},{"value":"Static IP Address of Treasure Data Integration","id":"static-ip-address-of-treasure-data-integration","depth":2},{"value":"Obtaining the SFMC Client ID and Client Secret","id":"obtaining-the-sfmc-client-id-and-client-secret","depth":2},{"value":"Use the Treasure Console to Create Your Connection","id":"use-the-treasure-console-to-create-your-connection","depth":2},{"value":"Retry and Logging Logic","id":"retry-and-logging-logic","depth":2}],"frontmatter":{"seo":{"title":"Salesforce Marketing Cloud Output Data Streaming","description":"Send transactional emails from Treasure Data to Salesforce Marketing Cloud using the Transactional Message API, enabling real-time email triggers and custom marketing workflows."}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/int/salesforce-marketing-cloud-output-data-streaming","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}