Workflow - Email Notification
I have a dataset with about a dozen fields of information, including a recipient email address that I want to run through a workflow to generate an email notfication to each recipient that includes a body summary containing the information from the other fields.
I've been using Dan Hendriksen's workflow tutorial on tagging a dataset as my example. I have successfully set up my workflow, counter, queried the dataset, got the current row as an object, and created children in the object to align to the dataset fields.
I thought the next step would be one of two things. I could maybe, if lucky, just use these object children as inputs in the email body (and recipient field) or what I assumed I would have to use "Get Text From Object" and create a text output variable for each field. However, neither worked as intended as the email just showed the variable names i.e. {{currentRow.Assignment}} or {{outAssignment}}
Can anyone point me in the right direction for how once I have my row object I map the fields in that row to variables that I can then use for the Send Email?
Best Answer
-
I learned the answer. I was correct that it is "Get Text From Object" but instead of using the Object Child as the Property I just needed to select Custom and type the field name from the dataset for each that I wanted to map.
0
Answers
-
I learned the answer. I was correct that it is "Get Text From Object" but instead of using the Object Child as the Property I just needed to select Custom and type the field name from the dataset for each that I wanted to map.
0 -
Recluz, I would encourage you to replace the "Query Dataset" step in the template (new updated template should be out soon) with the new Query Dataset shape (click on the 3 dots on the upper right of the shape, and you should see that option).
Alternatively, you can edit the "currentRow" object variable to add the children (remember, this is case sensitive and type sensitive) and then call those children directly. That will save you having to use the "Get Text From Object" steps to extract them to additional variables.1
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 107 SQL DataFlows
- 648 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 774 Beast Mode
- 75 App Studio
- 43 Variables
- 733 Automate
- 186 Apps
- 471 APIs & Domo Developer
- 62 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 403 Distribute
- 117 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 137 Manage
- 134 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive