ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Conditional Email with Body and Attachment

Harihk89
5 - Atom

Hi all,

 

I am struggling to find a way to create a workflow that should send email with a table (static data) in the body of the email and also attach a file, which will be created only when there is an output, in the same email. I am able to achieve both separately, but unable to find a solution when I want Alteryx to send email, along with the table in email's body, only when there is an output created.

 

In other words, I don't want to receive the table in an email when there is no output created.

 

Could you please help?

 

Regards,

Hari

1 REPLY 1
TheOC
16 - Nebula
16 - Nebula

hey @Harihk89 
As part of the Crew Macro's pack, theres a conditional runner macro, which will only run the workstream if there are results. I believe this to be what you need.

heres a bit of an example:
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Using-the-conditional-runner-macro/td-...


And heres where to get the macros

http://www.chaosreignswithin.com/p/macros.html 

Cheers,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Labels
Top Solution Authors