Skip to main content

send email

📜 This job is an official example from OpenFn.

Metadata​

Key Functions​

dataValue, field, fields, send

Expression​

send(
fields(
field('from', 'you@domain.com'),
field('to', dataValue('form.submission.respondantEmail')),
field('subject', 'Thanks for completing our survey.'),
field('text', 'Your message goes here.')
)
);