• anthemsk8er

    (@anthemsk8er)


    Hello, i have a website with different buttons, all of them leading to whatsapp using the “#whatsapp” id trigger.

    But the problem is that I want to send a different message depending on the button.

    Example: if a customer clicks on the “i want promo 1” button, the message should be: “hi im interested in the promo 1”, but also if the customer clicks on the “i want more info” button the message I get should be “i need more info”

    I don’t know if theres a way using webhooks.

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Creame

    (@creapuntome)

    Hi!

    With the latest versions of Join.chat(> 4.5) you can.

    In the block editor you can use the Joinchat Button block in which you can change the phone and the initial message.

    And with triggers you can use the data-message and data-phone attributes. e.g.

    <a href="#whatsapp" data-message="I need info for promo 1">Chat now</a>

Viewing 1 replies (of 1 total)
  • The topic ‘Different messages for different buttons’ is closed to new replies.