Business cases Estimated reading: 2 minutes 1325 views Use cases Ad hoc session with PDF parser Collection Inbound API collection.postman_collectionDownload Ad hoc session with PDF parser This is mostly a legacy use case where you might have PDF or word documents generated and you require that the client will receive the document and sign on one or two places and maybe accept some consent (using a checkbox). At the end of the process you require that the signed document will be delivered to your application through an API request. What’s included in the sample? The sample includes base64 from PDF file. The PDF includes arbitrary texts that are used by Cellosign parser, see below in red, “consent” and “signature1”. Request markup that instructs the parser how to use these texts { "template": { "analyze_document": { "analyze": true, "tags": { "signature1": { "type": "pad", "width": 7, "height": 5, "show": true }, "consent":{ "type": "checkbox", "width": 2, "height": 2, "show": true } } }, "from_document": "JVBERi0xLjUNJe..." } } The markup above instruct Cellosign parser to search for the text “signature1” and transform it to a signature pad in that exact position where it’s found. It also instruct the parser to search for the string “consent” and place a checkbox right in that position. It’s recommended that when using in production the texts on the PDF file will be in transparent font. Ad hod archive integration "integrations": [ { "type": "archive", "payload": { "url": "http://point.to.api.com/endpoint" } } ] This markup instruct Cellosign to archive the sign PDF back to an API. See more detail in archive documentation Notes and Gotchas To implement this scenario correctly you must bound to their Bounding Boxes, one string to parse into one bounding box, otherwise it will not work and the process will surely fail somewhere along the execution during parsing, signing or closure of document. In case you are having problem as such we recommend to check the texts that are in single boxes. Unfortunately we can not assist with that. Alternatives You may consider changing the scenarios to updated user experience using HTML templates, where personal data can be injected, other data can be collected from the client and signed and accessible PDF is generated at the end of the process, With so many more options available. Inbound - Previous Dictionary Next - Inbound Apps and databases connector