Documentation
Feedback
Guides
API Reference

Guides
Getting Started

Integration Guides




Payments

Orders

Fulfillment

VTEX inStore

UI Customization

Message Center

Pricing

Promotions

Infrastructure

Conversational Commerce

Search

VTEX Session

Master Datav2 Guides
Dynamic expressions in Master Data v2

Use dynamic expressions to add a document field value. For example, you can configure the client email to send marketing emails dynamically using triggers. See examples below of how you can set up your JSON schema.

Learn more about Master Data v2 schemas

  • trigger JSON
{ "action": { "to": "{!email}" } }
  • client document
{ "email": "client@email.com" }

Setting up dynamic expressions

Pattern:

{!fieldName}

Example:

{!email}

Access nested fields using a dot.

{!order.clientProfiledata.email}

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Sending emails with triggers in Master Data v2
Search by geocoordinates
Contributors
1
Photo of the contributor
+ 1 contributors
On this page