I am developing a workflow for WhatsApp and would like to know if, upon starting the workflow, before sending any type of message to the client, I can obtain information such as the contact's name and phone number.
I will detail the idea for better clarity of what I am looking for.
The client would send a message to the company's WhatsApp. From this first message, the client's phone number and name would be obtained. This information would be checked against a database/table to verify if it is the client's first contact or if they have contacted the company before.
In the first scenario, if it is their first contact, I would add their information to the database/table and initiate a workflow.
In the second scenario, if they have contacted before, they would enter a different workflow.
I found some information in the documentation like {{ event.tags.conversation['whatsapp:userPhone'] }} and * {{ event.tags.conversation['whatsapp:phoneNumberId'] }}*, but I was not able to capture the information.