Hi Santiago,
You could look at two options here:
Option 1 - Simpler approach: Canned Response
Agents can use a canned response after accepting the WhatsApp interaction, for example:
Hi, my name is {{AGENT_ALIAS}}, please give me a moment while I look into your request.
This is easier because the agent can just click and send it, without needing a workflow/API automation.
Option 2 - Fully automated approach
You may be able to use the trigger:
v2.detail.events.conversation.{id}.user.start
Filter for:
mediaType == "MESSAGE"
messageType == "WHATSAPP"
userId is not empty (so select userId operator - exsists)
queueId == your required queue
The event already provides conversationId and userId, so the workflow could use those values, get the agent name, optionally confirm the agent participant is connected, and then send the greeting back using the messaging conversation API.
I haven't tested the automated option end-to-end myself, but based on the event schema and similar discussions around getting the agent name, it should be possible.
Hope this helps.
------------------------------
Phaneendra
Technical Solutions Consultant
------------------------------