Document Generation
Template Creation
Template - Resources
the builder automatically retrieves all fields (both standard and custom) from the selected master object in addition to these, you may need data from other records, record collections, or use variables with predefined values, or store a value that can be used in the building process to achieve this, you create resources by clicking " + create new resource " in the resources section of the builder depending on the type, configure its object type, filters, limits, or values the available types of resources record single variable docid\ vwhs3pzv6unh2 77nrq7n a record single variable represents a single record and holds all its field values it is ideal for working with a specific data entry, such as a contact, opportunity, or account the record can either be related to the main template object or be an independent record fetched using filter criteria record collection variable docid\ d4biogeef7uoj7eiznung a record collection variable represents a group or list of records from a salesforce object it stores multiple records that meet defined criteria and is typically used when you need to work with repeating data entries, such as a list of products, contacts, or tasks within your document runtime variable docid\ axlc5bzdbbimwpkbabj9 documents can also be generated from salesforce flows runtime variables allow you to pass dynamic values from a flow into the document at runtime they can hold values such as a user’s email, record id, or other flow inputs you can assign a default value or override it using field data or constants recipents docid\ cvuqwzyav0eiqx30irke0 the recipients resource allows you to define the individuals who will receive and sign generated documents via docusign this resource holds information such as the recipient’s name and email address, which are critical for routing the document to the right person for e signature combining resources for advanced logic you can combine different types of resources to create more dynamic templates for example, a runtime variable can serve as a filter input for both record single variable and record collection variable similarly, field values from a record single variable can be used to filter a record collection variable , allowing you to narrow down the collection based on a specific record’s attributes