Forum Discussion

MickeyPotito's avatar
MickeyPotito
Qrew Trainee
7 days ago

Auto Generate Attach and E-Mail Document Templates

Good day everyone!

 

Through some searching I did find this YAML Document creation - Save PDF to field in record | Qrew Discussions to create and email and Document Templet. 

Looking through the YAML, I couldn't tell if this would work with a document templet that has to also pull from specific fields in the record we want. 

 

For instance when we finish a job, we have a button that Generates a service closing report that populates some information based off that job. The generate document button is with in the report and grabs the fields we need from there.

My end goal is to automate this for my guys on the road, where clicking generate document will also:
Attach the Document to the Record

Email the generated document to a subset of people associated with the job. 

2 Replies

  • Maria's avatar
    Maria
    Community Manager

    Qualifying my response by starting out saying, "I haven't used this YAML personally..." but If your question is, "will the document generated reflect the data from the record it's triggered from?" I believe the answer is yes. Fields are specified in the YAML, but you'll need to update it to match you table's field IDs. 

    • MickeyPotito's avatar
      MickeyPotito
      Qrew Trainee

      Yes, that was more or less what I was wondering.  I appreciate the insight!