Adding a feedback form

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

  1. Create a queue using the basic template.
  2. Give it a name, e.g., General Questions.
  3. Create additional issue types and workflows if needed.

Set up a feedback form

  1. 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 items:
    • Excellent
    • Good
    • Average
    • Bad
  2. If necessary, set up the form's integration, such as with your API for collecting statistics.

Set up a trigger for adding a form

To make a feedback form appear automatically when an issue closes, add comment creation with an embedded form to the trigger actions:

  1. Click  Queue settings in the top right corner of the General Questions queue page.

  2. Select Automation in the left-hand panel.

  3. In the top right corner, click CreateTrigger.

  4. In the Name field, enter a trigger name. You can add a description below the name.

  5. In the  Under condition section, specify Statusbecame equal toClosed.
    Read more about trigger conditions here.

  6. Under  Perform actions, select Add comment to issue.

  7. 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 a unique code, such as 123a4bc5d678901e2345678f, from the form URL.

  8. In the comment section, click  InviteAuthor.

  9. Enable Send as robot.

  10. To save the trigger, click Create.

Give the robot access

To embed the form correctly, give the Forms robot (yndx-forms-cnt-robot@) access to the queue:

When the issue is closed, the robot will add a comment with a form and summon the author.

Test the trigger

  1. Create an issue on the General Questions queue page.
  2. Change the issue status to Closed.
  3. Make sure a comment with the feedback form has appeared.