Adding a feedback form
Written by
Updated at February 19, 2024
To resolve current issues received by the HR department from company employees, create a separate queue available to all employees and configure adding a feedback form upon closing an issue.
Create a queue
- Create a queue using the Start now template.
- Give it a name, e.g.,
General Questions
. - Create additional issue types and workflows if needed.
Set up a feedback form
- Create a feedback form. For instance, this can be a form named "Evaluate our work" with a single question of the
List
type. You can specify the following as list options:Excellent
Good
Average
Bad
- Set up the form's integration, e.g., with your API for collecting statistics.
Set up a trigger for adding a form
Create a trigger
-
Go to the
General Questions
queue settings, open the Triggers section, and click Create trigger. -
Add the condition: Status → became equal to → Closed.
-
Add the Add comment action.
-
Use the following code as the comment's text:
{{=<% %>=}}/iframe/(src="https://forms.yandex.ru/cloud/<form_ID>/?iframe=1" frameborder=0 width=100% height=660px scrolling=no)
Where
<form_ID>
is the ID of the form to add. -
Click and enter Assignee in the Invite users from field line.
-
Enable Send as robot.
-
Click Create to save the trigger.
Grant access permissions to the Forms robot
To ensure the form is inserted correctly, provide the Forms robot (yndx-forms-cnt-robot@
) with access to the queue:
- In the
General Questions
queue settings, select Access. - Under Access rights, enter
Robot
in the search field and select Service robot Forms Robot from the list. - Click Save.
Test the trigger
- Create an issue on the
General Questions
queue page. - Change the issue status to Closed.
- Make sure a comment with the feedback form has appeared.