Closed iteles closed 4 years ago
@iteles the user / help guide is here: https://docs.google.com/document/d/1WTGSSlH6gwUHpipusPKLIsgfFUamDbFbJ7JaoG6-ZBo/edit#heading=h.y1q61e2vhshm
Thanks for the link @markwilliamfirth. Are there any particularities around how we're using it?
This URL should be added to the relevant doc before we close this issue 👍
AutoCrat is a free chrome extension that allows you to merge document templates (e.g. invoice or contracts) with the data you wish to fill them. For example autofilling an employee's name in all of the relevant places in a new contract.
For its most basic functionality you require three components to use AC. These are:
The document is where you fill in what you want your template to include. The spreadsheet includes all of your instances of data e.g. the data for all of the employees you want to create contracts for. You must add AC to Chrome in order to run it on your spreadsheet. Finally you will end up with a customised pdf or document.
<<name>>
. The word you put between the arrows is what should correspond with the column title in your "project" (your google sheet). Matching is case sensitive. It is through matching the tag values that your template is filled in. It is possible to name your tags and columns differently but to do this you must then indicate which should correspond with one another when setting up a job. You can even use tags to give the resulting document a customised auto-generated name.Then reopen the dropdown and instead of install you should now have the option to click "Open", so now do so. This should then load a window something like this:
In this case you can see an existing job 'Member Agreement' and we have the option to create another new job.
Click the “New Job” button OR the little pencil icon on an existing job and the job editor wizard will open.
Name your merge job - Give your job a useful name that indicates what running it achieves - ie. new employee contract
Choose template - Choose the document that you want to merge your spreadsheet data with from your google drive.
Map Source Data to Template - When setting up your merge you will need to “map” (i.e. match) the tags in your document template to the columns in your spreadsheet. Remember that if the tags match their corresponding header exactly, the mapping will be done automatically. But they do not need to match, in which case you must manually match them.
File Settings -
Choose destination folder(s) - Choose a folder for every merged document to be dropped into or on the next page it gives you the option to include a “dynamic folder reference” which means a column which gets filled for each row and will dictate which folder the file should be saved into depending on the value entered into it.
Set Merge Condition (Optional) -
A merge condition can be used to stop AC from merging a row of data if it doesn't meet certain conditions (e.g. do not run if a given field is left blank or is NULL
), it may help avoid errors. By default, AC will run for all rows in a job’s data sheet. E.g. do not let the row get run if the NAME column is left blank:
Share docs and send emails If you want to send your completed docs to another staff member or perhaps your accounting system then you can set this up automatically here. You have various options to include such as the content of the email and which email address it should be sent from:
Add/remove job triggers (Optional) - Tell AC to run every time a form is submitted (only works if there is a form attached to the spreadsheet. And/or to run at a given time interval (E.g. every 3 hours)).
Closing this as no longer relevant given we have moved away from this system: see https://github.com/dwyl/process-handbook/issues/97 (and the MANY annoying bugs this caused).
Thanks again for the great work in documenting this @Cleop :blush: Very findable and useful! Exactly what we were looking for with this issue.
Hello I am not able to see the file name with the help of <
Can anyone help?
As someone who is on the operations team, I would like to have a set of instructions to refer to on how to use autocrat to create contracts (as mentioned in https://github.com/dwyl/process-handbook/pull/62) So that if the people who are already aware of the processes are away or I need to refer to something because this is a task I don't carry out often, I can still create contracts if needed on short notice.