AEM Guides gives you the flexibility to specify a post-output generation workflow. You can perform some post-processing tasks on the output that gets generated using AEM Guides.
For example, you might want to set certain properties on the PDF output, or you might want to send an email to a set of users once the output is generated.
Create a Java or ECMA based workflow process that performs the operation on the generated output. For example, copying some metadata from source to the generated content or manipulating metadata of the generated output.
With the custom workflow process that you created in previous step, create a workflow model and add that process step to it.
Refer sample workflow model shown below:
Post generation workflow is a property that can be configured on any output preset within AEM Guides publishing mechanism. Example:
Assuming the selected model is already created.
Now you can run the publishing using this preset and validate the process step output
For your reference, you can use below package and install it via package manager to test the sample post generation workflow (as referred in screenshots above)