





















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Covers advanced document automation using Formstack Documents for Salesforce. Emphasis includes mapping datasets, generating multi-format outputs, conditional content, advanced logic, reusable templates, and integration with Salesforce automation tools like Flow and Process Builder. Candidates solve real document generation challenges requiring accuracy and scalability.
Typology: Exams
1 / 93
This page cannot be seen from the preview
Don't miss anything!






















































































Question 1. Which template type is best suited for generating a document that requires precise table formatting and looping over a variable‑length list of Opportunity Products? A) Formstack Documents Builder (HTML) B) Fillable PDF C) Microsoft Word (.docx) D) Microsoft PowerPoint (.pptx) Answer: C Explanation: Word templates support complex table structures and the Loop syntax, allowing precise control over repeating rows for each product. Question 2. In a Formstack Documents template, which merge field modifier would you use to display a currency value with two decimal places and a dollar sign? A) {{Amount|date}} B) {{Amount|currency}} C) {{Amount|uppercase}} D) {{Amount|abbr}} Answer: B Explanation: The currency modifier formats numeric values as currency, adding the appropriate symbol and decimal precision. Question 3. When should you choose a Fillable PDF template over a Word template? A) When you need advanced HTML/CSS styling B) When the document must be signed directly within the PDF viewer C) When you need to loop over related records D) When you require dynamic image insertion Answer: B
Explanation: Fillable PDFs are ideal for documents that need to be signed or completed in a PDF reader, as they preserve the PDF form fields. Question 4. Which conditional logic syntax correctly hides a paragraph if the field Discount is zero? A) {% if Discount != 0 %}Paragraph{% endif %} B) {{#if Discount == 0}}Paragraph{{/if}} C) {% if Discount == 0 %}{% else %}Paragraph{% endif %} D) {{if Discount != 0}}Paragraph{{/if}} Answer: C Explanation: The {% if %} … {% else %} … {% endif %} syntax is the correct way to conditionally display content in Formstack Documents Builder. Question 5. Which SOQL clause would you add to a query to retrieve only Opportunities where the Amount exceeds $100,000? A) WHERE Amount > 100000 B) HAVING Amount > 100000 C) FILTER Amount > 100000 D) LIMIT Amount > 100000 Answer: A Explanation: The WHERE clause filters records based on criteria; WHERE Amount > 100000 returns high‑value Opportunities. Question 6. In advanced mapping, how do you map a field from a parent Account to a merge field on a Contact template? A) Use a standard point‑and‑click mapping and select “Account > Name” B) Write a custom Apex trigger to copy the value
A) {{QR|url}} B) {{#qr}}URL{{/qr}} C) {{QR:URL}} D) {{qr|url}} Answer: A Explanation: The QR modifier ({{QR|url}}) generates a QR code image from the supplied URL. Question 10. Which Flow trigger type is most appropriate for generating a contract document immediately after an Opportunity is marked “Closed Won”? A) Scheduled Flow B) Record‑Triggered Flow (after‑save) C) Autolaunched Flow invoked from a button D) Screen Flow launched from a Lightning page Answer: B Explanation: An after‑save Record‑Triggered Flow runs automatically when the Opportunity status changes, perfect for immediate document generation. Question 11. How can you pass a specific template ID to a Formstack Documents button on a custom object? A) By setting the button’s URL parameter template_id=XXXXX B) By creating a new Apex class that hard‑codes the template ID C) By adding the template ID to the object’s Description field D) By using a Visualforce page to store the ID in a hidden field Answer: A Explanation: The button URL can include template_id=XXXXX to tell Formstack Documents which template to use.
Question 12. Which delivery option would you configure to automatically store generated proposals in a related Salesforce Files library? A) Email attachment B) Google Drive folder C) Salesforce Files (Upload) D) Dropbox folder Answer: C Explanation: Selecting “Salesforce Files (Upload)” routes the document into the Files system, associating it with the record. Question 13. In a Data Routing configuration, how would you direct high‑value Opportunities to the “Executive Proposal” template? A) Use a formula field that returns the template ID based on Amount > 500000 B) Create two separate Flows, one for each template C) Set a static template ID on the Opportunity object D) Use a Process Builder to change the template name field Answer: A Explanation: Data Routing can evaluate a formula (e.g., IF(Amount > 500000, "Executive_Proposal_ID", "Standard_Quote_ID")) to select the appropriate template dynamically. Question 14. Which of the following best describes a Webhook payload when sending a completed document URL to an external system? A) A CSV file attached to the request B) A JSON object containing document_url and record_id C) An XML SOAP envelope with the document binary
A) {{Loop.LineItem.Product2.Name}} B) {{LineItem.Product.Name}} C) {{#each OpportunityLineItems}} {{Product2.Name}} {{/each}} D) {{#loop OpportunityLineItems}} {{Product2.Name}} {{/loop}} Answer: D Explanation: The {% loop %} syntax (or #loop in newer versions) iterates over OpportunityLineItems, and within the loop you can reference Product2.Name. Question 18. Which Salesforce limit is most likely to affect a Flow that generates documents for 10,000 records in a single batch? A) SOQL query rows limit (50,000) B) Apex CPU time limit (10,000 ms) C) Flow interview limit (250) D) API callout limit (100) per transaction Answer: D Explanation: Each document generation triggers a callout to Formstack Documents; exceeding the 100 callout limit in a single transaction would cause failures. Question 19. In Formstack Sign integration, what is the purpose of the “Signing Order” field? A) Determines the sequence in which recipients receive the document for signature B) Sets the priority of the document in the queue C) Defines the visual layout of signature fields D) Controls the expiration date of the signing request Answer: A Explanation: “Signing Order” ensures recipients sign the document in a predefined sequence.
Question 20. Which of the following is a correct way to troubleshoot a failed merge caused by a missing merge field? A) Check the Document History for “Field Mapping Error” details B) Increase the API timeout to 120 seconds C) Disable all conditional logic in the template D) Re‑upload the template as a PDF Answer: A Explanation: The Document History logs provide specific error messages, including missing or mismatched merge fields. Question 21. When using the Formstack Documents API to trigger a merge, which HTTP method must be used? A) GET B) POST C) PUT D) DELETE Answer: B Explanation: Merges are created via a POST request to the /documents endpoint. Question 22. Which Permission Set should be assigned to allow a user to view generated documents stored in Salesforce Files? A) “Formstack Documents Admin” B) “Salesforce Files Viewer” C) “Standard User” is sufficient D) “API Only”
C) Throws an error if Contact.Email is null D) Replaces the email with a placeholder text Answer: B Explanation: The conditional block checks for a non‑empty Contact.Email before rendering the line. Question 26. Which Apex method would you use to invoke the Formstack Documents API from a trigger? A) Http.send() B) Database.insert() C) Messaging.SingleEmailMessage() D) PageReference.getContent() Answer: A Explanation: Http.send() (or Http.sendAsync) performs callouts to external REST APIs like Formstack Documents. Question 27. When configuring a remote file upload in a document merge, what must be provided in the webhook payload? A) The file’s base64‑encoded content B) The URL where the file can be downloaded C) The file’s MIME type only D) The Salesforce Record ID of the file Answer: B Explanation: Formstack Documents fetches remote files by URL; the payload must include a reachable file URL.
Question 28. Which of the following best describes the “Advanced Mapping Configuration” option in Formstack Documents? A) It allows mapping of fields from unrelated objects using SOQL queries B) It provides a visual drag‑and‑drop interface for field mapping C) It lets you map fields using JSONPath syntax for nested data D) It enables mapping of child‑to‑parent relationships only Answer: C Explanation: Advanced Mapping uses JSONPath‑like expressions to navigate complex, nested data structures. Question 29. How can you reduce the number of API calls when generating documents for a batch of 500 Contacts that share the same Account data? A) Use a Loop to pull Account data once per Contact B) Enable “Bulk API” on the Formstack Documents connection C) Create a single SOQL query that retrieves Contacts and their Accounts in one call D) Duplicate the Account data in each Contact record Answer: C Explanation: A single SOQL query that joins Contacts with Accounts retrieves all needed data in one API call, reducing call volume. Question 30. Which Flow element is used to call the Formstack Documents action after a record is created? A) Update Records B) Create Records C) Callout (External Service) D) Action (Formstack Documents) Answer: D
C) “System.DmlException: Insert failed” D) “System.NullPointerException” Answer: A Explanation: Exceeding the row limit triggers a System.QueryException with the “Too many query rows” message. Question 34. How can you ensure that a generated document is automatically emailed to the Contact’s email address? A) Add an Email Action in the Flow after the document is created B) Set the “Email Delivery” option in the Document Template settings C) Include a “mailto:” link in the template body D) Use a Process Builder to send the email Answer: B Explanation: Enabling “Email Delivery” in the template configuration sends the generated file to the email address supplied in the merge data. Question 35. Which of the following is a recommended practice when migrating templates from a sandbox to production? A) Manually copy‑paste the template HTML into production B) Use the “Export/Import” feature in Formstack Documents to move templates and mappings together C) Recreate each template from scratch in production D) Change the template IDs in the mapping after deployment Answer: B Explanation: Exporting and importing preserves template structure, versioning, and associated mappings, ensuring consistency across environments.
Question 36. In a Formstack Documents template, what does the {{#each}} syntax accomplish? A) It creates a conditional block B) It iterates over a collection of records (loop) C) It formats a date field D) It inserts a static image Answer: B Explanation: {{#each}} is used for looping over arrays, enabling dynamic repetition of sections. Question 37. Which Salesforce feature can you leverage to automatically delete generated documents after 30 days to manage storage limits? A) Data Loader delete operation B) Apex scheduled job that runs a SOQL query on ContentDocumentLink C) Workflow rule with “Time‑Based Action” to delete the File D) Process Builder that calls a Flow to delete the File record Answer: C Explanation: A time‑based workflow action can be set to delete the file after a defined period, helping control storage usage. Question 38. When using the Formstack Forms integration, which field must be present on the Form to trigger a document merge? A) A hidden field named “template_id” B) A checkbox called “Generate Document” C) A picklist named “Document Type” D) No special field is required; the integration auto‑triggers on submit Answer: A
D) It requires a custom Apex class to function Answer: B Explanation: Data Routing allows complex criteria with logical operators to select templates or delivery options. Question 42. In the context of Formstack Documents, what does the term “merge envelope” refer to? A) The container that holds all merged files before delivery B) The email body that accompanies the document C) The JSON payload sent to the API D) The PDF security settings applied to the document Answer: A Explanation: A merge envelope groups the generated document(s) and metadata for delivery. Question 43. Which of the following is the correct way to reference a custom field c_Invoice_Number__c in a merge field? A) {{c_Invoice_Number}} B) {{Invoice_Number__c}} C) {{c_Invoice_Number__c}} D) {{InvoiceNumber}} Answer: C Explanation: Custom fields retain their API name, including the __c suffix, when referenced in merge fields. Question 44. When troubleshooting a “Template Syntax Error”, which tool within Formstack Documents should you consult first?
A) The Document History log B) The Template Preview mode C) The Salesforce Setup audit trail D) The API Usage dashboard Answer: B Explanation: Template Preview highlights syntax issues directly in the template editor. Question 45. Which of the following is a valid use case for the “Remote File Upload” feature? A) Adding a company logo stored on an external CDN to the document B) Uploading a PDF to Salesforce Files after the merge completes C) Creating a new Contact record from a PDF file D) Sending the generated document to a Slack channel Answer: A Explanation: Remote File Upload lets you pull files (e.g., logos) from external URLs into the merge. Question 46. How does the “Formstack Documents Builder” differ from a standard Word template in terms of styling? A) It uses inline CSS and HTML for precise layout control B) It only supports plain‑text formatting C) It cannot embed images D) It requires VBA macros for styling Answer: A Explanation: The Builder leverages HTML/CSS, offering fine‑grained styling beyond Word’s native capabilities.
Answer: D Explanation: A custom Lightning Component (or standard Action) that invokes the Formstack Documents Action provides a manual trigger. Question 50. When mapping a multi‑select picklist field to a merge field, how should you format the output to display each selected value on a new line? A) Use the {{Field|newline}} modifier B) Apply the {{Field|join:\n}} modifier C) Set the picklist to “Display as List” in Salesforce D) Use a Loop over the picklist values Answer: B Explanation: The join modifier with \n inserts line breaks between selected values. Question 51. Which of the following best explains why a document merge fails with the error “Insufficient Access Rights on Parent Record”? A) The user lacks read access to the parent object referenced in the mapping B) The template file is corrupted C) The API version is outdated D) The document size exceeds the limit Answer: A Explanation: The merge attempts to read parent data; without proper permissions, the process fails. Question 52. In a Flow that generates a document and then creates a Task, which element should be placed after the Formstack Documents Action to ensure the Task contains the document’s URL? A) Update Records (Task) using the “Document URL” variable from the Action output
B) Create Records (Task) with a hard‑coded URL C) Send Email action with the document attached D) Pause element to wait for the document to finish Answer: A Explanation: The Action returns the document URL; using Update Records ensures the Task references the correct URL. Question 53. Which of the following is a true statement about the “Conditional Logic” feature in Formstack Documents? A) It can only evaluate numeric fields B) It supports nested if/else statements C) It cannot be used in PDF Builder templates D) It automatically translates field values into multiple languages Answer: B Explanation: Conditional Logic allows nesting, enabling complex decision trees within the template. Question 54. When using the Formstack API to retrieve a list of available templates, which endpoint is called? A) /templates (GET) B) /documents (POST) C) /accounts (GET) D) /files (GET) Answer: A Explanation: The /templates endpoint returns metadata about available document templates.