This feature helps you track vacation days and manage budget requests!
- Calculate helps you keep track of time off requests, budget requests, and employee recognition awards.
- With Form Answer, the information from submitted forms is automatically stored for you. Find form answers under magic variables and use them to take specific actions in workflows!
- Combine the results from multiple forms into one document with Merge PDF Documents. You can then store the merged document, send it in a chat, or attach it to an email.
Watch the video below for a 2-minute walkthrough of both workflows:
Time-Off Request workflow
Overview
Let's say you want to track how many vacation days an employee has left after they take a vacation. Once they fill out a request form and get approval from a manager, the workflow below will use the new Calculate action to subtract how many days were requested in the form by the current amount of days left.
This type of workflow can also be used to manage points for employee rewards programs, inventory for work t-shirt orders or anything else you can think of.
Step-by-step instructions
- As a first step, we need to build the form that will allow employees to submit their request. Go to the “Dashboard” and click on “Toolbox”, then “Forms”.
- Set up your time-off request form.
- Check out your Toolbox under “Get Inspired” to get a ready-to-use holiday request template that you don’t need to create from scratch!
- Or this Help Center article from point 2, for some helpful tips.
- Include a field for the user to input how many days they will be away. We need this input to be manual from the user and numerical, so make sure you add a description in the form field for the user to know they can only use numbers.
- Next, we need to create a custom profile field with the number of vacation days available. Go to the “Dashboard”, and then click on “Settings”, and on “Profile Fields”.
- Add a new profile field at the top right of your screen.
- Choose Type “number” and name your profile field
- Unselect the possibility for the user to modify the field
- Via the user select or manually, add the number of time-off days available to each employee. We will use 25 days in our example.
- Next, we need to build our automation. Go to the “Dashboard” and click on “Toolbox”, then “Workflows”.
- Click on “Create new Workflow” if this is the first workflow in your tenant or “Add New” if there are already some workflows. Enter the workflow name and optional description.
- Then click on the “Add a Trigger” placeholder to add a trigger.
- Select “Form submitted” from the trigger list and click on “Add”.
- Within the panel on the right side, in the field “Form name” select the Form which should trigger the workflow. This is the name of the form you created in the first steps. You can just start typing, and a proposition of forms will pop up. Select the correct form.
- Then click on the “Add an Action”.
- Select an Action: “Retrieve user profile data” and click on “Add”.
This step allows to get more information from the selected user’s profile such as: first and last name, role, user email, user name, # of comments, # of likes, # of posts, last activity date, profile creation date…etc. You can reference these fields in the further steps of the workflow, for example to create a dynamic file name or address the chat message or email. - Add another action.
- Select “Convert form submission to a PDF”. Select the magic variable “Submitted form”. This will transform each user’s time-off request into a PDF that you can use later in the workflow.
- Add another action.
- Select “Send Request and Branch on Approval Status”.
- Choose a title, description, due date and attachments for your request.
- Requested by: We recommend input the magic variable “Form Submitter”, so the form submitter is able to follow the progress of their request. Alternatively, leave it empty, and the Workflow Automation Bot will be considered the creator of the request.
- Approvers: Select up to 5 approvers. You can choose the magic variable “Answer for” from your form set up in the first steps, so the manager of the employee will be dynamically assigned to the request.
- Optionally, you can add other approvers, such as HR.
- In the “Approved” branch, add another action.
- Select “Send a chat message”.
- Send to: Select the “Form Submitter” as a recipient
- Message: Confirm to the recipient that their request has been accepted. You can use the magic variable “First name” (that you retrieved in step 12) to address the recipient directly.
- Add another action.
- Select the “Calculate” action. We will use this to subtract the number of days the user is away from their total quota of available time-off days. You will have set up this field in step 2.
- Choose the profile field for the time-off quota that you created in step 3.
- Operation: Use “subtract”
- Quantity: Select “Answer” to retrieve the number of days the user has chosen to be away. This is also why we need this value as a numerical manual input.
- Add another action.
- Select “Update user profile field”.
- User: Choose the magic variable “Form Submitter”.
- Field name: Choose the profile field you created in step 3.
- Field value: Select the magic variable “Calculation result”. This will update the user’s profile field with the new value of time-off quota minus the number of days they are away.
- In the “Rejected” branch, add another action.
- Select “Send a chat message”.
- Send to: Select the “Form Submitter” as a recipient
- Message: Tell the recipient that their request has been rejected.
- Validate and save your workflow. Now that your entire workflow is ready you can validate the trigger and each action and save if everything is correct. The system will not let you save the workflows in case something is missing or not correct. Correctly updated triggers and actions will have a green checkmark.
- Flip the toggle to activate it.
Budget Request workflow
Overview
In this example, a worker wants to request budget for new equipment. First, they have to fill out a form and send it to their manager. The manager adds a few more details, like current inventory and level of priority. We want to send the final submission to the finance team, but as one PDF, instead of two separate documents.
With our new merge PDF function, you can combine the results from both forms and merge them in one place. Send them directly to the finance team without everyone searching for two separate documents.
Step-by-step instructions
- As a first step, we need to build the form that will allow employees to submit their request. Go to the “Dashboard” and click on “Toolbox”, then “Forms”.
- Set up your budget request form.
- Make sure you include a field for the user to request a numerical-only value. This is very important for the workflow to work, so add a description in the form field for the user to know they can only use numbers.
- In most cases, you will also want the user to be able to select the manager with the User Select. We will also need this further along in the workflow.
- We will also create a second form that the manager can fill out with further information after receiving the first form. Set up this second form, and add information such as:
- Who needs to approve it next by choosing the “User Select” form field.
- Purpose of the request.
- Cost center.
- Etc.
- Next, we need to build our automation. Go to the “Dashboard” and click on “Toolbox”, then “Workflows”.
- Click on “Create new Workflow” if this is the first workflow in your tenant or “Add New” if there are already some workflows. Enter the workflow name and optional description.
- Then click on the “Add a Trigger” placeholder to add a trigger.
- Select “Form submitted” from the trigger list and click on “Add”.
- Within the panel on the right side, in the field “Form name” select the Form which should trigger the workflow. This is the name of the form you created in the first steps. You can just start typing, and a proposition of forms will pop up. Select the correct form.
- Then click on the “Add an Action”.
- Select an Action: “Retrieve user profile data” and click on “Add”.
This step allows to get more information from the selected user’s profile such as: first and last name, role, user email, user name, # of comments, # of likes, # of posts, last activity date, profile creation date…etc. You can reference these fields in the further steps of the workflow, for example to create a dynamic file name or address the chat message or email.- Choose the form submitter as the user
- Add another action.
- Select “Send a chat message”.
- Send “Answer” to the manager selected in step 2.
- Add another action.
- Select ”Convert form submission to PDF”. Choose the magic variable “Submitted form” so it will be transformed into a PDF.
- Select “Create a task and wait for completion”. We will send a task with an embedded form to the manager of the request. They will have to fill out the second form that we created in step 3.
- Choose your title, optional description and due date.
- Requested by: We recommend input the magic variable “Form Submitter”, so the form submitter is able to follow the progress of their request. Alternatively, leave it empty, and the Workflow Automation Bot will be considered the creator of the request.
- Assigned to: You can choose the magic variable “Answer” from your form set up in the first steps, so the manager of the employee will be dynamically assigned to the request.
- Embedded form name: Select the second budget request form you created in step 3.
- Attachments: Select the file attachment, and input the magic variable “Generated PDF file key”, so the manager understands what they are approving. We are inputting the converted form submission from the previous step
- Add another action.
- Select an Action: “Retrieve user profile data” and click on “Add”.
This step allows to get more information from the selected user’s profile such as: first and last name, role, user email, user name, # of comments, # of likes, # of posts, last activity date, profile creation date…etc. You can reference these fields in the further steps of the workflow, for example to create a dynamic file name or address the chat message or email.- Choose the embedded form submitter as the user
- Add another action.
- Select ”Convert form submission to PDF”. Choose the magic variable “Embedded form submitted” so it will be transformed into a PDF.
- Select “Send Request and Branch on Approval Status”.
- Choose a title, description, due date and attachments for your request.
- Requested by: We recommend input the magic variable “Form Submitter”, so the form submitter is able to follow the progress of their request. Alternatively, leave it empty, and the Workflow Automation Bot will be considered the creator of the request.
- Approvers: Select up to 5 approvers. In this step, you could choose all the next approvers, e.g. HR, or the board.
- In the “Approved” branch, add another action.
- Select “”Convert form submission to PDF”.
- Submitted form: Choose the “submitted form” (not the embedded one)
- Approver profile data: Choose the magic variable “Approvers” to choose all approvers selected in step 20
- Add another action.
- Select “Merge PDF documents” and choose the two PDF files.
- Add another action.
- Choose “Send a chat message” and select the form submitter. Attach the merged PDF file key, and the recipient will receive it in the chat message. You can also choose the action “Send an email” to send the merged PDF file.
- Validate and save your workflow. Now that your entire workflow is ready you can validate the trigger and each action and save if everything is correct. The system will not let you save the workflows in case something is missing or not correct. Correctly updated triggers and actions will have a green checkmark.
- Flip the toggle to activate it.
Comments
0 comments
Please sign in to leave a comment.