Enterprise marketing teams managing millions of customer communications frequently struggle with the manual overhead of copy generation and static A/B testing. Phrasee, which has evolved and rebranded as Jacquard, addresses this bottleneck by integrating an AI-driven brand language engine directly into leading customer engagement platforms such as Salesforce Marketing Cloud (SFMC) and Braze. Instead of requiring marketers to manually draft copy variations and configure split tests in isolation, Phrasee connects to these execution engines to automate the generation, deployment, and real-time optimization of message variants across email, push notifications, and other digital touchpoints.
The Architecture of Automated Message Testing
Traditional A/B testing in customer relationship management (CRM) workflows requires marketers to devise hypotheses, manually write two or three copy variants, split their audience evenly, and wait days or weeks for human evaluation before rolling out a winner. In contrast, Phrasee operates through an automated feedback loop combining natural language generation (NLG) with predictive scoring and dynamic multi-armed bandit optimization.
The system begins by calibrating a language model tailored to an enterprise brand's specific guidelines, tone of voice, regulatory restrictions, and engagement goals. When a campaign is planned, Phrasee generates multiple language variants for message components—such as email subject lines, preheaders, calls to action (CTAs), or mobile push headlines—and scores them according to predicted engagement.
Once variants are approved, Phrasee does not merely split traffic 50/50. Through its Dynamic Optimisation engine, the platform integrates with delivery systems to serve variants, observe early engagement telemetry, and algorithmically adjust traffic distribution in real time. Higher-performing language receives an increasing proportion of sends, while underperforming variants are phased out during the send window, capturing incremental revenue and engagement automatically.
Integrating Phrasee with Salesforce Marketing Cloud (SFMC)
Salesforce Marketing Cloud is one of the most widely deployed enterprise email and journey orchestration engines. Phrasee integrates with SFMC to enable automated message testing across Email Studio, MobileStudio, and Journey Builder without requiring marketing teams to abandon their established data models and approval workflows.
Authentication and Server-to-Server Setup
The connection between Phrasee and Salesforce Marketing Cloud is established through a Server-to-Server API integration created within the SFMC App Center:
- Installed Package Configuration: Administrators configure an Installed Package within SFMC, granting API permissions for Email Studio, Content Builder, and Journey Builder access.
- OAuth 2.0 Credentials: The integration uses client credentials flow with a unique
client_idandclient_secretrouted through Salesforce's Tenant-Specific Endpoints (TSE). - Tenant Mapping: The enterprise supplies Phrasee with its Business Unit Identifier (MID) and Salesforce stack location, ensuring that experiments are isolated to the intended brand business units.
Dynamic Content Injection via AMPscript
To deliver optimized copy variants into SFMC messages, Phrasee utilizes Salesforce's proprietary scripting language, AMPscript, alongside Content Builder dynamic blocks:
- Email Subject Lines: Rather than hardcoding static text in Email Studio send definitions, marketers insert a lightweight AMPscript snippet into the subject line field. At send time, the script queries Phrasee's experiment tables or dynamic data structures within Marketing Cloud to assign the appropriate copy variant to each subscriber.
- Content Builder Blocks: For email body copy, headlines, and call-to-action buttons, Phrasee provisions dynamic content snippets within Content Builder. These snippets can be dragged into Journey Builder emails or automation scripts.
- Mobile Push Messages: For MobileStudio push campaigns, Phrasee provides specific snippet strings that are pasted into the notification message composer, allowing push alerts to pull from active experiments dynamically.
Navigating Content Builder Approvals
A common obstacle in enterprise organizations is regulatory and brand approval. If every test variation required full re-approval within Salesforce Content Builder, automated testing would grind to a halt. Phrasee addresses this challenge through a decoupled workflow:
- Copy variations are reviewed and approved directly within the Phrasee platform, where automated compliance checks and brand safety filters are applied.
- Within SFMC Content Builder, the master email template and the AMPscript placeholder blocks undergo standard Salesforce approval once.
- Because the AMPscript references Phrasee's approved experiment variants at runtime, the underlying message language can optimize dynamically without invalidating the approved status of the parent template in SFMC.
Telemetry and Data Ingestion Loop
To train its predictive models and adjust variant allocations, Phrasee requires performance feedback from SFMC:
- Data Views and Tracking Extracts: SFMC records recipient interactions, including message sends, opens, clicks, unsubscribes, and custom conversion events within its internal Data Views.
- API and Data Extension Sync: Jacquard's integration periodically pulls tracking extracts and updates experiment Data Extensions. This performance data is fed back into Phrasee's deep learning architecture, updating performance weights for subsequent campaign cycles.
Integrating Phrasee with Braze
Braze's modern, stream-based architecture enables an even tighter, real-time integration with Phrasee. Utilizing Braze's native templating capabilities and data streaming tools, Phrasee delivers automated message testing across email, push notifications, SMS, in-app messages, and Content Cards.
Send-Time Retrieval Using Connected Content and Liquid
The primary mechanism for injecting Phrasee copy into Braze campaigns is Braze Connected Content, which makes dynamic HTTP calls using Liquid templating syntax right as a message is prepared for delivery:
- Real-Time API Querying: When Braze processes a message for dispatch, it encounters a
{% connected_content %}Liquid tag configured with Phrasee's API endpoint and campaign experiment identifiers. - Dynamic Variable Storage: The API returns a JSON payload containing the assigned variant, which is stored in a Liquid variable and rendered into the subject line, message body, or push title.
- Deliverability Fallbacks: In enterprise production environments, resilience is paramount. If a network timeout or API error occurs, Liquid logic allows marketers to specify fallback copy (for example, using
{{ phrasee_content.text | default: 'Exclusive Offer Inside' }}), ensuring that no subscriber receives a blank or broken message.
Closed-Loop Streaming with Braze Currents
While traditional platforms rely on batch data extracts, Braze features an event-streaming system called Braze Currents. Phrasee leverages Currents to establish a near-real-time measurement loop:
- Amazon S3 Data Export: In Braze, administrators navigate to Currents and configure an Amazon S3 export targeting Phrasee's dedicated data ingestion bucket (historically designated as
phrasee-braze-currents-exports). - Event Delivery: As subscribers interact with messages, Braze streams raw interaction events—including sends, deliveries, opens, clicks, and custom conversion events—directly to the S3 bucket.
- Variant Attribution: Phrasee ingests these streaming logs, matches event records against subscriber-level variant IDs, and measures engagement curves with minimal latency.
The Role of Delivery Rate Limiting
A distinctive capability of Phrasee in Braze is live within-send optimization. For large broadcast sends, Phrasee recommends activating Braze's delivery speed rate limiting (for instance, pacing a multi-million message send across 4 to 6 hours):
- Initial Exploration Phase: During the first hour of delivery, messages are distributed across all active variants to gather baseline engagement data.
- Live Reallocation: As Braze Currents streams early opens and clicks into Phrasee, the multi-armed bandit algorithm identifies high-performing phrasing and begins shifting remaining send volumes toward the winning variants.
- Automated Yield Maximization: By the time the final batches are dispatched, the vast majority of recipients receive the most effective variant, maximizing overall campaign engagement without manual intervention.
Architectural Comparison: SFMC vs. Braze
While Phrasee achieves automated message testing on both platforms, the technical implementation reflects the contrasting architectures of Salesforce Marketing Cloud and Braze.
| Capability / Factor | Salesforce Marketing Cloud (SFMC) | Braze |
|---|---|---|
| Primary Integration Mechanism | Server-to-Server App, AMPscript, Content Builder dynamic blocks | Connected Content API calls via Liquid syntax |
| Authentication Model | OAuth 2.0 Client Credentials with Tenant-Specific Endpoints | API Key and endpoint authentication within Connected Content |
| Variant Assignment Timing | Pre-send evaluation / render via AMPscript execution | Synchronous HTTP retrieval at message send time |
| Feedback Loop Pipeline | SFMC Tracking Extracts, Data Views, and scheduled Data Extension sync | Real-time event streaming via Braze Currents to AWS S3 |
| Supported Message Channels | Email Studio (broadcast & triggered), MobileStudio Push | Email, Mobile Push, Web Push, In-App Messages, Content Cards, SMS |
| Approval Workflow Integration | AMPscript blocks inside approved Content Builder templates | Braze Campaign and Canvas templates with Liquid validation |
| Send-Time Optimization | Primarily journey-level and batch re-allocation | Live intra-send bandit reallocation using delivery rate limiting |
Operational Best Practices for Marketing Operations Teams
To maximize the reliability and performance of automated message testing with Phrasee across enterprise stacks, marketing operations teams should adhere to several architectural practices:
1. Maintain Robust Fallback Logic
External API calls and scripting engines must never jeopardize message delivery. In Braze, always implement explicit Liquid default filters to guard against JSON parsing failures or endpoint delays. In SFMC, wrap AMPscript lookup functions in conditional error-handling blocks that default to verified static copy if an experiment variant fails to resolve.
2. Proactively Manage Credentials and Token Rotation
Enterprise security policies mandate periodic secret rotation. For SFMC integrations, OAuth 2.0 client secrets must be updated in coordination between Salesforce administrators and Phrasee platform settings before expiration to prevent campaign halts. In Braze, monitor API endpoint permissions and maintain S3 IAM bucket access for Currents exports.
3. Align Send Volume with Statistical Sensitivity
Dynamic optimization algorithms require sufficient sample sizes to detect meaningful differences in open and click behavior. For low-volume transactional triggers, dynamic reallocation may take days to accumulate statistical confidence; in high-volume promotional broadcasts, rate-limited pacing across several hours is essential to provide the learning window required for intra-send reallocation.
4. Establish Cross-Departmental Governance
Enterprise language generation requires clear boundaries. Before deploying automated testing into live customer journeys, CRM teams, brand safety leads, and legal compliance officers should configure Phrasee's vocabulary constraints and review policies. Once these guardrails are codified within the platform, teams can allow the testing automation to operate autonomously without risking brand reputational harm.
Summary
Phrasee integrates into Salesforce Marketing Cloud and Braze as an automated intelligence layer that replaces manual A/B testing with continuous, algorithmic optimization. In Salesforce Marketing Cloud, it leverages Server-to-Server OAuth and AMPscript content blocks to insert approved language variants while respecting complex enterprise approval processes. In Braze, it uses Connected Content Liquid calls for real-time variant rendering and Braze Currents for event streaming, enabling within-send optimization during paced bulk deliveries. By coupling generative language capabilities directly to enterprise delivery pipes, Phrasee transforms message testing from a slow, intermittent task into an automated, revenue-driving operating standard.