Allow documents to be generated from a variety of other automations

We currently have an automation recipe that states that ‘if’ a status is set to a specific condition an email is created. It would be fantastic if the same method could be used to generate a document instead of an email using DocuGen.