Commit f2610c4
Two-step Flow Designer Action to parse JSON and send it via email in text or HTML. (#55)
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.
Co-authored-by: admin <[email protected]>1 parent f9eb85f commit f2610c4
File tree
2 files changed
+3356
-1
lines changed- b812ceb69337a210633378917cba10bc
- update
2 files changed
+3356
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments