Hi everyone,
I'm a dev/sysop/whatever-they-need at this company, and to the bane of my existence they use ODOO.
They use both the HELPDESK and the WHATSAPP app/module; the workflow is as follows:
- a client send a request for support via e-mail --> the e-mail is picked up inside HELPDESK, a ticket is generated --> follow communications are done via e-mail;
- a client send a request via whatsapp --> according to the message, a lead or a ticket is created --> if a ticket is created, following communications may happen in "hybrid" mode
We use a lot of "Models" from the WHATSAPP Module to quickly convey information to the customer, especially when "hybrid communication" happens.
I have been asked to create a MODEL for WHATSAPP taking advantage of the "Button" field with dynamic content in order to quickly link the HELPDESK ticket page to a customer who decided to use WhatsApp to request assistance and had its message translated into a ticket. (don't ask..I know it's convoluted and stupid, but it is what it is and I can't change it.)
My idea was to use the same link that the HELPDESK module uses as default for the "View Ticket" button: a direct link that don't require the customer to create/insert access credentials.
The issue is that I can't find a way to replicate/extract that URL when using the Variable Selection Windows during the Model Creation in WhatsApp Module: the closest thing I can find is "Helpdesk -- Ticket -- URL Access Portal" but it just translates into " /my/ticket/#TICKETID" which is nowhere close the URL structure HELPDESK utilize.
To clarify, the HELPDESK Module use this structure to create what I call "a quick access link": https://www.mydomain.com/mail/view?access_token={{access.token}}&auth_signup_token={{auth.signup.token}&hash={{hash}}&model=helpdesk.ticket&pid={{pid}}&res_id={{res.id}}
Am I wrong, or these variables aren't accessible from the WhatsApp Module? This should be a "no brainer" since the whole ecosystem should use one set of shared variables for such situations, yet I am unable to find a solution.
I would greatly appreciate any suggestion on the matter, thank you.
edit: spelling.