Settings - Documents templates

Template documents


The document templates module lets you create a document that will be filled in automatically with information provided by participants.

Create document

To do this, first create a Word document (.docx), adding the expected user variables (example in blue).

Import document as template

Once the document has been validated, go to the Documents module and click on Add a document.

Fill in the information requested in the pop-up window.

  • _id : automatically generated
  • name: Name of your document
  • filenameTemplate: Nomenclature of the document when uploaded by the participant (user
  • variables can be added)
  • file: drag and drop the document in .docx format here

Create download link

Once the document has been created and the template set up, all you need to do is add the document to an e-mail sent to participants. To do this, go to the Mailing module, select the dedicated e-mail template, and add a button with the following link:

https://api.appcraft.events/document/v1/event_id/documents/generate-pdf/files/document_id/users/{privateKey}

Where to find the event_id?

Your event id is at the top of your window. Click on it to copy it.

Where can I find ledocument_id?

Your document id can be found in the document module, in the document editing pop-up.