{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Journey Orchestration","type":"markdown"},"seo":{"title":"Creating a Real Time Triggered Activation","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"creating-a-real-time-triggered-activation","__idx":0},"children":["Creating a Real Time Triggered Activation"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This feature is in Beta. Contact your Customer Success Representative for more information."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A real-time triggered activation allows you to communicate with a potential or existing customer within minutes instead of daily. Real-time triggered activations support the following events:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-wait-step-for-a-real-time-journey"},"children":["Wait Step"]},": Insert multiple wait steps into a journey's path to define the cadence in which you interact with profiles."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-realtime-decision-point"},"children":["Decision point"]},": Create one or more decision points to direct your user down a personalized path."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-merge-for-a-real-time-journey"},"children":["Merge"]},": Merge multiple decision points into a single point."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This topic includes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#create-triggered-activation"},"children":["Create Triggered Activation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#enter-real-time-activation-details"},"children":["Enter Real-time Activation Details"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#braze"},"children":["Braze"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#sendgrid"},"children":["Sendgrid"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#salesforce-marketing-cloud-output-data-streaming"},"children":["Salesforce Marketing Cloud Output Data Streaming"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#webhook-output-streaming"},"children":["Webhook Output Streaming"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#using-real-time-attributes-in-trigger-activations"},"children":["Using Real-time Attributes in Trigger Activations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#about-real-time-variables"},"children":["About Real-time Variables"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-triggered-activation","__idx":1},"children":["Create Triggered Activation"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Treasure Console."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to Audience Studio."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to an existing real-time journey and open it or ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-real-time-journey"},"children":["create a real-time journey"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a stage."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the left panel, select Triggered Activation and drag and drop it to the Journey canvas."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/new-topic-6-2024-03-12.e6f8d83d02baeb64c9f88d42c672734439e22cf9f0dbb08020b38fb829e77c5f.9e7171ae.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Alternately, select the plus sign at the end of the stage rule and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add triggered activation"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"enter-real-time-activation-details","__idx":2},"children":["Enter Real-time Activation Details"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Marketers might need to contact their data engineer to identify the correct authentication details."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can configure a triggered activation to work with the following streaming integrations:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-integrations/braze-output-streaming-integration"},"children":["Braze Output Streaming"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-integrations/salesforce-marketing-cloud-output-data-streaming"},"children":["Salesforce Marketing Cloud Output Data Streaming"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-integrations/sendgrid-output-streaming-integration"},"children":["SendGrid Output Streaming"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-integrations/webhook-output-streaming-integration"},"children":["Realtime Webhook Activation"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["While the configuration details vary between integrations, the information you need to provide can generally be grouped as follows:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Integration details -- these are integration-specific details that determine how the streaming data is returned."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Payload -- these configurations are where you define what information will be returned in the payload. Using the Treasure Console you can specify Imported Attributes, Real-time Attributes, or Journey Metadata such as Journey Name, Journey Stage Name, Audience Name, etc."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timeouts and Retries -- these configurations are where you define how retries happen if the integration experiences a timeout condition."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create or update a triggered activation:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the triggered activation you want to configure ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/triggeredactivation.66e546b8c4cc774c0bdd804d0d099b63cf12b1916181d85d7c715be95bd61810.9e7171ae.png","alt":""},"children":[]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/detailstriggeredactivations.543b5576f6eee3be0b13f6ce47f5b851a5daa4159fe88a9181347dc644df88bc.9e7171ae.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the triggered activation window, select an activation from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copy triggered activation from"]}," drop-down menu."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Triggered activation name"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Optional description"]}," of the activation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["From the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}," drop-down menu, select the authentication the activation should use."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Depending on the type of authentication you choose, the details you will need to provide will vary. Refer to the integration-specific tables below for more information."]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify or provide the information required for the fields on the Details page."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["After the Details are configured, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Update"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following tables describe the configuration fields for authentication integrations. For fields containing an Add batch attributes option, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-real-time-triggered-activation#rtatttrig"},"children":["Using Real-time Attributes in Trigger Activations"]}," section for more information about the prefix notation used for selections."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"braze","__idx":3},"children":["Braze"]},{"$$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":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action/Description"},"children":["Action/Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Details"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API-Triggered Delivery"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Campaign"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Canvas"]}," for the API-triggered delivery."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Campaign ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Enter the Braze campaign or canvas identifier that matches the selected delivery."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Send ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Optional) Enter the Braze send identifier associated with the authentication."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Broadcast"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Selecting this checkbox sends the data as a broadcast.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Use caution--enabling broadcast can unintentionally send messages to a larger audience than expected."]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payload"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trigger Properties"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the JSON payload for the triggered properties. Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add"]}," to insert Imported attributes, Real-time attributes, or Journey Metadata (Journey Name, Journey ID, Journey Stage Name, Audience Name, Audience ID, Activation Timestamp in UNIX)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Connected Audiences"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Optional) Configure Braze connected audiences for the activation, if needed."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Recipients"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Optional) Configure the recipients section according to your Braze setup."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeouts and Retries"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum Number of Retry"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select how many times the activation should retry on failure."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Initial Retry Delay (in seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the number of seconds to wait before the first retry."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retry Delay Multiple"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the factor that multiplies the retry delay after each attempt."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The connector retries on basic errors:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTP 500"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTP 429"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-03-19-21-40-38.94ca6d6cba648a9248ff9145463ab9b56bdcadd742643bfaef60abf763aff4fb.9e7171ae.png","alt":""},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["triggered_properties"]}," object has a maximum size limit of 50 KB."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgrid","__idx":4},"children":["Sendgrid"]},{"$$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":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action/Description"},"children":["Action/Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Details"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["From Email"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Enter the email address of the campaign sender."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["From Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the sender's display name."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Subject"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Enter the subject of the email."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Template ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter a template ID to override substitutions in the personalized email body."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unsubscribe Group ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Optional) Enter a group ID that lets recipients unsubscribe from the campaign."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payload"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Personalized Email Body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the JSON payload for the personalized email content. Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add"]}," to include Imported attributes, Real-time attributes, or Journey Metadata (Journey Name, Journey ID, Journey Stage Name, Audience Name, Audience ID, Activation Timestamp in UNIX)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Content"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide the JSON payload for SendGrid ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content"]}," settings."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attachment"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide the JSON configuration for SendGrid attachments."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Mail Settings"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide the JSON configuration for SendGrid mail settings."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tracking Settings"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide the JSON configuration for SendGrid tracking settings."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeouts and Retries"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum Number of Retry"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select how many times the activation should retry on failure."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Initial Retry Wait (in seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the number of seconds to wait before the first retry."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum Retry Wait (in seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the maximum amount of time to wait between retries."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The connector retries on basic errors:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTP 500"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-03-19-21-40-38.94ca6d6cba648a9248ff9145463ab9b56bdcadd742643bfaef60abf763aff4fb.9e7171ae.png","alt":""},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"For Personalized Email Body, input the configured email template. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["__column_name__"]}," to mark a substitute column or alias. All substitute columns and aliases must exist in the exported data. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payload limitations:"]}," the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Attachment"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Mail Settings"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tracking Settings"]}," sections do not accept Journey Metadata values; the activation fails if Journey Metadata are included there."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"salesforce-marketing-cloud-output-data-streaming","__idx":5},"children":["Salesforce Marketing Cloud Output Data Streaming"]},{"$$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":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action/Description"},"children":["Action/Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Details"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trigger action"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Choose the Salesforce Marketing Cloud action to trigger:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Send an email",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Trigger a journey"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Definition Key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Enter the key associated with the selected trigger action:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Send an email: email template definition key",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Trigger a journey: API entry event definition key"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact Key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Required) Select a String, Batch attribute, Imported attribute, Real-time attribute, or Journey Metadata, then provide the unique recipient identifier used in Salesforce Marketing Cloud."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Recipient Email Address"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Displayed only when ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send an email"]}," is selected. Choose one of the following:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- String -- enter an email address",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Imported attribute -- select an imported attribute",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Real-time attribute -- select a real-time attribute",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Journey Metadata -- select the metadata to use"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payload"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attributes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the JSON payload for the attributes. Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add"]}," to include Imported attributes, Real-time attributes, or Journey Metadata (Journey Name, Journey ID, Journey Stage Name, Audience Name, Audience ID, Activation Timestamp in UNIX)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeouts and Retries"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum Number of Retry"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select how many times the activation should retry on failure."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Initial Retry Delay (in seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the number of seconds to wait before the first retry."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retry Delay Multiple"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the factor that multiplies the retry delay after each attempt."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The connector retries on basic errors:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTP 500, 502, 503, 504"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTP 429"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-03-19-21-40-38.94ca6d6cba648a9248ff9145463ab9b56bdcadd742643bfaef60abf763aff4fb.9e7171ae.png","alt":""},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Each selected batch attribute creates key-value pairs for personalization. For journeys, those values are stored in the Salesforce Marketing Cloud data extension defined for the trigger."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"webhook-output-streaming","__idx":6},"children":["Webhook Output Streaming"]},{"$$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":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action/Description"},"children":["Action/Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Details"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HTTP Method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Select the HTTP method for the API call. Available options: GET, POST, PUT, DELETE, or PATCH."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specify the HTTPS endpoint for your third-party service. The URL must use the base URL defined in the authentication's URL Prefix and can be up to 2,048 characters."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom Headers"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specify any custom headers required for the API call (up to 32 headers, each <= 256 bytes). Provide both a key (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content-type"]},") and a value (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]},")."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payload"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request Body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enter the JSON payload for the request body. Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add"]}," to include Imported attributes, Real-time attributes, or Journey Metadata (Journey Name, Journey ID, Journey Stage Name, Audience Name, Audience ID, Activation Timestamp in Unix)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeouts and Retries"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retry Limit"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer between 0 and 64 that specifies how many times the call retries."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Connection Timeout (seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer between 1 and 900 that specifies how long to wait for the call to establish a connection."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read Timeout (seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer between 1 and 900 that specifies how long to wait for a read request to finish."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Write Timeout (seconds)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer between 1 and 900 that specifies how long to wait for a write request to finish."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Webhook connector does not check for duplicate headers. Ensure no duplicate keys are defined."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/triggeredactivationsaddcontrol.10000058ceeb1d6e471d63c7122a7ebbd27b6cbecd378f3727e5cdc20a8b0ed4.9e7171ae.png","alt":""},"children":[]}," The maximum request body size is 250 KB. You can reference the authentication secret from the API Key field as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{auth.api_key}}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"using-real-time-attributes-in-trigger-activations","__idx":7},"children":["Using Real-time Attributes in Trigger Activations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You cannot directly access sliding counter attribute sub-durations and list attribute aggregations; instead, use the corresponding sub-attributes. Refer to the following table for the correct formatting."]},{"$$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":"Attribute Type"},"children":["Attribute Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]},{"$$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":["list"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{list.first}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{list.list_attribute.first}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identifies a list aggregation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["counter"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{counter.inc_value}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{counter.inc_value.by_2}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{counter.sliding_counter_inc_value.perweek}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identifies a counter and, where present, the sliding counter sub-duration."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["single"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{single.sliding_consent_inc1.first}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identifies a single-byte attribute."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["imported"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{imported.email}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{imported.order_id}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Prefix used for imported attributes."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Learn more about ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/real-time/real-time-attributes-overview"},"children":["creating real-time attributes"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"about-real-time-variables","__idx":8},"children":["About Real-time Variables"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["URLs, HTTP headers, and request bodies can reference authentication variables. Enter the variables manually in the triggered activation 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":"Attribute Type"},"children":["Attribute Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]},{"$$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":["auth"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{auth.api.key}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains the API key supplied by the authentication."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Triggered activation fields can also reference metadata variables."]},{"$$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":"Attribute Type"},"children":["Attribute Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]},{"$$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":["meta"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{meta.time}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{meta.parent_segment_id}}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{meta.journey_id}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provides journey metadata. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["meta.time"]}," is the timestamp when the activation is sent."]}]}]}]}]}]},"headings":[{"value":"Creating a Real Time Triggered Activation","id":"creating-a-real-time-triggered-activation","depth":1},{"value":"Create Triggered Activation","id":"create-triggered-activation","depth":2},{"value":"Enter Real-time Activation Details","id":"enter-real-time-activation-details","depth":2},{"value":"Braze","id":"braze","depth":3},{"value":"Sendgrid","id":"sendgrid","depth":3},{"value":"Salesforce Marketing Cloud Output Data Streaming","id":"salesforce-marketing-cloud-output-data-streaming","depth":3},{"value":"Webhook Output Streaming","id":"webhook-output-streaming","depth":3},{"value":"Using Real-time Attributes in Trigger Activations","id":"using-real-time-attributes-in-trigger-activations","depth":2},{"value":"About Real-time Variables","id":"about-real-time-variables","depth":2}],"frontmatter":{"seo":{"title":"Creating a Real Time Triggered Activation"}},"lastModified":"2026-06-01T09:09:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/journey-orchestration/realtime/creating-a-real-time-triggered-activation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}