Adding Attachment to Workflow form and sending the email.

Hi I am trying to add an attachment to my Workflow form and then Sending the Email through Send Email function in Domo Notifications. But while assigning the variable I am not able to assign the variable to Send Email. Please help me if any body knows how to do this. Let me know if any further details are required to understand the problem.
Answers
-
I'm having trouble understanding what you are trying to accomplish. It sounds like you want to use a form step to send a file attachment to the Send Email action. Have you considered using a link to the file instead of an attachment? Insert the URL as a variable in the body of the email.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Let me clarify my use case to help you understand better:
I’ve built a Domo App that includes a Form connected to a Workflow. The form collects the following fields from the user:
- Email ID
- Email Subject
- Email Body
- Attachment
In the Domo Workflow, I’ve successfully mapped the Email ID, Subject, and Body to the “Send Email” action, and it works as expected.
However, the issue arises with the Attachment field. I’m unable to map the attachment collected from the form into the “Send Email” action within the workflow. As a result, the workflow runs without any errors, but the email is sent without the intended attachment, which makes the automation incomplete.
I’d really appreciate guidance on:
- How to properly map an attachment field from the form to the Send Email step
- Or if there are any limitations or workarounds currently in place
Thanks in advance for your help!
0 -
I'm not sure Send Email can send an attachment that isn't hosted or via a URL. There may be limitations on sending binary or other form attachments using a workflow.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Are you referencing the Send Email Code Engine function? That attachment field is expecting the file id from the Domo Files API. Trying to locate documentation for that.
0 -
Hi, Thank you for your responses.
Please refer to below snapshots to understand the function being used along with its Parameters. If there is any other way to achieve this please let me know.0 -
@Pranav_Patil , I found in my tests that attachment must be required and stored as a number. That function calls for a list of number data type attachments. You can also try to create that list with a different function and pass it through for email function.
0 -
Yes, that number is the file id in Domo that results from using the Domo Files API
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 6 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 781 Automate
- 191 Apps
- 483 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 42 AI and Machine Learning
- 22 AI Chat
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 408 Distribute
- 116 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive