Hey @FahdERM -
Totally possible. A few different approaches to this:
- Create a dedicated document step that is formatted like you want your PDF.
- Use the Print step trigger action to save the step to a PDF document
- Send that PDF out with a custom widget to encode the attachment as base64. Thread here:
Attachment SendGRid
Second approach (tricker to build, better user experience):
- A custom widget where the PDF is created. You pass it the text, and x and y locations, and it returns the b64 encoded image. An example of this is attached.
- Send the b64 from this widget to the sendgrid connector linked above.
Attachment SendGRid
The second approach is way easier on the user side, because they don’t need to save to a specific location, then refind that file when sending it, but either should work.
Pete
customWidget-Form V2 (1).json (1.9 KB)
NOTE: This widget hasn’t gone through the standard Tulip code review process, use at your own risk