Using merge tags in your custom PDF template is a simple and effective way to include information from your Gravity Form in your PDF. However, this method is the least flexible as you cannot manipulate the data using PHP.
Finding Your Form's Merge TagsTo find the merge tags associated with your form we recommend navigating to your form's notifications section. The main textarea of individual notifications allows you to generate merge tags for specific fields. A preview of the Gravity Forms notifications settings page with the mergetag selector open.
Once you have the merge tags you want you can copy them over to your PDF template file and the entry information will be included when the PDF is rendered.