younifyd
Menu

Answer Call

Answer a customer's WhatsApp call with the assistant speaking in its voice. The call is its own new conversation, and product cards and the cart are sent to the customer's WhatsApp chat while they talk

Use it in a workflow

  1. Add a step and choose the Assistant connector.
  2. Pick the Answer Call action (under ai).
  3. Fill in the fields below, then reference the result from later steps as {{answerCall.response.data}}.

Fields

agentSlugstringrequired

Which assistant answers. It needs voice calling turned on.

callIdstringrequired

The call's id from the WhatsApp calls webhook.

fromstringrequired

The caller's WhatsApp number.

namestring

How the caller appears in your inbox, such as their WhatsApp profile name.

sdpOfferstringrequired

The caller's WebRTC offer (session description) from the webhook.

Examples

Answer an incoming WhatsApp call

Hand a call from the calls webhook to the assistant

json
{
  "agentSlug": "support",
  "callId": "{{item.id}}",
  "from": "{{item.from}}",
  "name": "{{item.name}}",
  "sdpOffer": "{{item.sdp}}"
}

Need more? See the Assistant guide for connection setup and behaviour shared by every action.

Was this page helpful?