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
Sending emails with triggers in Master Data v2

You can use Master Data v2 triggers to automatically send emails to your customers.

You can find more information about creating triggers in the article Setting up triggers in Master Data v2.

Properties

FieldDescription
type*The action type must be email
provider*Message Center provider name (usually named as default)
from*define name and email of from address
to*list of emails that email will be sended
replyTo*list of addresses to reply
subject*subject line for this e-mail
body*the message body
bccaddress collection that contains the blind carbon copy (BCC)

* Required

Dynamic expressions

You can use dynamic expressions to deal with document properties in these settings. For more information, look at the Article on dynamic expressions.

JSON Schema example:

{ "properties": { ... }, "v-triggers": [ { "type": "email", "provider": "default", "subject": "Sending email with VTEX Master Data", "from": { "email": "mailfrom@email.com", "name": "My custom name" }, "to": [ "test@test.com" ], "cco": [ "testcco@test.com" ], "replyTo": "noreply@email.com", "body": "VTEX Master Data Triggers email body" } ] }
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
A/B testing Master Data v2 trigger actions
Dynamic expressions in Master Data v2
Contributors
1
Photo of the contributor
+ 1 contributors
On this page