Edit your first workflow
Now that we’ve run your first workflow using a pre-built workflow, let’s look at customising it and then deploying those changes.
Add a new question to the form
Let’s start by adding a new question into the form. Drop in an upload media question. This allows you to upload files from the form, and then have a link to that file passed through to other components. Insert "Upload a file here" as the question.
Save your changes to the form and exit back to the canvas.
Add a new component to the workflow
Drop a document editor component into the canvas.
Connect the form to the input node of the document editor.
Configure the document editor
Click into the document editor. Type "Here is a link to the uploaded file" and then insert the placeholder from the upload media question right after it. You can find the placeholder for the upload media question on the right hand side - search for UploadMedia if you can't find it.
Save and exit the document editor back to the canvas. Connect the document editor to the email.
Configure the email
Click into the email component. If you look on the right hand placeholders menu and search "Document", you will see that the document editor now passes a placeholder to the email. This placeholder represents the URL link to the document generated when the workflow is run. Insert that placeholder somewhere into the email body.
Save and exit the email and then publish the project again to deploy the changes we just made.
Start your new workflow
Click “Start workflow” and complete the form as before. Don't forget to upload a file when you reach the upload file question which we inserted earlier.
Check the outputs
Once you have submitted the form, you will have received an email which now contains a link to the document generated by the document editor.
Return back to the canvas and click “Files” in the toolbar on top of the canvas.
This will bring you to the File Library for your workflow. In the uploaded tab, you will find the file that you uploaded to the form.
Click on the generated tab - here you will find the document that was generated during the workflow.