Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2021-06-22 05:18:05

hafriz
New member
Registered: 2021-06-20
Posts: 5

whatsapp integration (auto respond/bot respond)

hi, i have successfully integrate with whatsapp using the guide that livehelperchat give.

i would like to find a way to have automated respond for any new created chat through whatsapp same as auto respond setup using department auto respond or to collect custom attribute from whatsapp user respond. is anyway to do it?

another question is, how to append current rest api variable for example, for a reply from operator to users, i want to include operator name in the reply message to the users. anyway to do it?

for example if can append the operator name in restapi call as below ?

{"args": {
    "to": {{args.chat.incoming_chat.chat_external_id}},
    "content": "{{chat.user_id}}:{{msg_url}}"
}}


but seems it's not working

thanks

Last edited by hafriz (2021-06-22 09:09:21)

Offline

#2 2021-06-25 09:21:59

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,520
Website

Re: whatsapp integration (auto respond/bot respond)

In recent update I added support  for raw_{{}chat.user_id}} where only content would be json encoded but not wrapped in quotes. https://doc.livehelperchat.com/docs/bot … -variables

So yo use operator you could send something like raw_{{args.chat.plain_user_name}} or raw_{{args.msg.name_support}}

Offline

Board footer