N
Novu•7mo ago
Tim Anderson

Digest Email Workflow test not showing step events -

Hi guys, thanks for help ahead of time.
In my custom code for the email, I have: <p>You subscribed to be notified when an article or intelligence report is published with a particular tag.</p> <p> {{#each step.events}} <p>{{docType}} published with tag: {{subTag}} - <a href={{urlRef}}>{{linkTitle}}</a></p> {{/each}} </p> and am passing an array of 2 with each of those example variables on test, like so: { "urlRef": "https://xxxxxxxx/intelligence/reports/25164", "linkTitle": "BioE OCV-S", "docType": "intelligence report", "subTag": "OCV" } . When I test it, I receive the email, but no list of the step.events. Yes, I know the url is not correct, it's for security.
7 Replies
Tim Anderson
Tim Anderson•7mo ago
in case it's important, using the web interface - not doing any integration yet.
Pawan Jain
Pawan Jain•7mo ago
Hi Tim I tried to reproduce the issue with payload you mentioned. Are you sending payload lke this?
No description
Pawan Jain
Pawan Jain•7mo ago
This is the email I received on triggering the workflow 4 times with above payload variables
No description
Gali Baum
Gali Baum•7mo ago
Hi @Tim Anderson , do you mean you are using the test from the email editor? If so, take a look here https://discord.com/channels/895029566685462578/1133394482239381586/1133678146013642812
Tim Anderson
Tim Anderson•7mo ago
This is where I'm putting the array -
No description
Pawan Jain
Pawan Jain•7mo ago
@Tim Anderson Thanks for sharing Could you please trigger the workflow?
Tim Anderson
Tim Anderson•7mo ago
I figured it out, Pawan - I was putting the variables in the wrong spot 🙂 Thanks for the example