Question
Republic services
Republic services
US
Republic services
Posted: Apr 10, 2023
Last activity: Aug 1, 2023
Last activity: 1 Aug 2023 8:33 EDT
Closed
Generate PDF from link with .pdf extension
Hi , We have a requirement to convert link with .pdf extension to convert to pdf file and attach to email.
Here link is received in rest api call .
How to convert from link with .pdf extension to pdf file without user intervention.
***Edited by Moderator: Pooja Gadige to add capability tags***
To see attachments, please log in.
@sunanda0369
To achieve this, follow these steps:
a. Create a new activity for sending the email.
b. In the activity, use the 'pxCreatePDF' method to create a PDF from the received data.
c. Use the 'SendEmailNotificationWithAttachments' method to send the email with the PDF attachment.
d. Pass the stream of the PDF as a parameter to the 'SendEmailNotificationWithAttachments' method.
This process will convert the link with a .pdf extension to a PDF file and attach it to an email without user intervention.
How To attach a downloaded file to an email
Create PDF and attach it to outbound mail from a local action
Attachment management with DX API > Uploading files
@sunanda0369
To achieve this, follow these steps:
a. Create a new activity for sending the email.
b. In the activity, use the 'pxCreatePDF' method to create a PDF from the received data.
c. Use the 'SendEmailNotificationWithAttachments' method to send the email with the PDF attachment.
d. Pass the stream of the PDF as a parameter to the 'SendEmailNotificationWithAttachments' method.
This process will convert the link with a .pdf extension to a PDF file and attach it to an email without user intervention.
How To attach a downloaded file to an email
Create PDF and attach it to outbound mail from a local action
Attachment management with DX API > Uploading files
Use case: Send file attachments from a repository