21 Mar 2024 06:59 PM
I posted this in the wrong forum. Meant to post to Developer Forum.
I love the "send email" action that I can now incorporate into a workflow. However, I'm wondering if there's a way to send results from a specific task, through email.
Use case:
Run HTTP synthetic monitor from workflow Task 1
Gather specific results everyone on the team wants to see Task 2
Send results of Task 2 through the send email action
Open email - see results from Task 2 in message: url, responseCode, responseBody, etc
Currently when I get the email, it just sends a link to the workflow. Not everyone on the team will have access to the workflow, but all members will want to see the results.
Solved! Go to Solution.
21 Mar 2024 08:15 PM
you have to access the result of a previous task via jinja expressions.
Here you have an example of how I am accessing my demo workflow results of a previous action. My preceding task was actually just a http request to the https://swapi.tech/ api.
Best,
Sini
21 Mar 2024 08:34 PM
Oh, excellent; thank you Sini! I will give that a try.
Kimberly
21 Mar 2024 08:53 PM
Thanks again Sini,
This works. I just need to truncate the response body I'm trying to send, as it exceeds the 5,000 char limit.
Kimberly