Generate URL parameter for feedback system

Infos:

  • Used Zammad version: 5.0.x
  • Used Zammad installation type: package
  • Operating system: Centos 7

For connecting to a customer feedback system (customer can score the support of the ticket), I want to have a dynamic value in the url.

So the plan is to have an url like this:
https://domain-feedback/TICKET-NO/HASHVALUE
TICKET-NO: is the ticket number
HASHVALUE: is sha256(secret+ticketno)

So it would be great to generate the HASHVALUE with a stored secret together with the ticketnumber. On the feedback system there you can prove the hash with your secret and accept the feedback score.

Requirements in zammad:

  • store a secret
  • generate a hash with the secret and ticket number
  • possibility to insert this hash in a ticket (maybe as an object variable).

Thanks for your help
Roland

Hi @roland
you can use custom objects to store the Hashvalue.

You can then use a text module with variables to create the URL.

For example https://domain-feedback/#{ticket.number}/#{ticket.hashvalue}

I think it is not possible to create a hashvalue in Zammad itself. You could set this value throught the REST API or use an automation service. We use Integromat for this. You can trigger your Integromat scenario via a webhook and the update the ticket with the hashvalue.

If you don’t use Integromat already, you vcan use this affiliate link to sign up. You will get 10.000 instead of 1.000 free operations.

Cheers,
Gijs

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.