Commit c06b1dc
admin
Two-step Flow Designer Action to parse JSON and send it via email in text or HTML.
Use Case:
Automatically alert support teams and management of high-priority incidents, including all relevant fields, in a well-formatted email.
Step 1 – Script:
Recursively parses JSON (jsonString) into text or HTML (tables/lists).
Supports nested objects and arrays.
Outputs emailBody and status.
Step 2 – Email:
Sends the formatted email using emailTo and emailSubject.
Script step is modular and reusable.
Notable Features:
outputFormat choice input added.
Handles empty/invalid JSON gracefully with descriptive error messages in email body.
Testing:
Verified both text and HTML outputs.
Confirmed emails to multiple recipients.
Errors in JSON parsing appear in the email body instead of failing silently.1 parent 5eff4b5 commit c06b1dc
File tree
2 files changed
+3644
-1
lines changed- b812ceb69337a210633378917cba10bc
- update
2 files changed
+3644
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments