Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Federicofkt
Contributor III
Contributor III

Can't attach report to sendgrid in automation

I'm new to automation stuff, I have a table in a sheet of an analysis that I need to send via email.

My automation is quite simple:

Create Report

Add sheet to report (that is the sheet where the table is built)

Generate report.

Send mail.

 

Now, I'm not able to attach the generated report to the email. First I've tried with the standard "send mail" block, but it was throwing an error due to authentication. Then I moved to Outlook 365 send mail but It still does not support attachement.

My final choice was the sendGrid module, since I have a sendGrid account. The email is working just fine, i can send mails with text from the automation. The problem is when I attach the generated report. It throws this error:

message:
The attachment content is required.
field:
attachments.0.content
help:
 
As attachment I put the output of the generate report block.
 
I don't understand how can I solve this
Labels (1)
1 Reply
AfeefaTk
Support
Support

Hi @Federicofkt 

You should use "Create Attachment From Base 64" block from Send Grid Connector to create an attachment and its output should be passed as an attachment in the Send Email block.

Please take a look at the demo automation attached below for your reference.

Hope this helps!!

Please let me know if you have any questions.

Thanks