Skip to content

PDF Task

The PDF task allows you to generate a PDF document from an HTML template, or from formatted text. Optionally, you can combine this with an existing document by adding an existing document before or after the generated content. The output of this task can be used from the Context panel in subsequent tasks.

Creating a PDF Document

Simple PDF generation can be accomplished by using the Rich Text editor to design the layout for the content, and the Context Panel to insert data.

For advanced users or layouts, you can change the Format dropdown selection to HTML (Raw). Using this method, you can accomplish much more complex designs for the PDF, and include features not available to the Text Editor mode. Examples of this include tables, images, colours, and other layout controls.

Additional options are available to format your PDF content. These are:

  • Remove Margins
  • Landscape (default is portrait)
  • Scale factor - this adjusts the size of the content. 1 = 100% (normal size), 0.5 = 50% (half size), 2 = 200% (double size)

Combining Documents

Another use for this task is to add content to an existing document. An example of this may be adding a static coversheet to the results of a survey submitted by AireForms. To do this, you should use options on the Advanced Settings tab under Attachment Settings to insert the base64 version of the existing PDF, and choose whether you want to Append or Prepend it to your new content (PDF Content).

Using this method, you can also chain multiple PDF tasks.