Skip to content

Typebot integration sends lid and not jid #2251

@Ben-Avrahami

Description

@Ben-Avrahami

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

When a user sends a message from a Linked Device (Web/Desktop), the remoteJid variable passed to Typebot contains the @lid identifier (e.g., 123456@lid) instead of the standard phone number JID (@s.whatsapp.net).

Since the Typebot integration currently hardcodes the prefilledVariables (as seen in the Documentation), it does not pass the senderPn or remoteJidAlt.

those are the values that the documentation is stating that are being sent to typebot from Evolution-api

const prefilledVariables = {
remoteJid: "JID of the contact",
pushName: "Contact's name",
instanceName: "Name of the instance",
serverUrl: "API server URL",
apiKey: "Evolution API key",
ownerJid: "JID of the number connected to the instance"
};

Impact: This renders the native integration unusable for any workflow that requires the user's actual phone number (e.g., looking up a customer in a CRM, sending data to n8n/Webhooks, or authenticating users). There is currently no way to retrieve the actual phone number inside Typebot when the incoming message is from an @lid source.

What did you expect?

Please add senderPn (or remoteJidAlt) to the prefilledVariables object sent to Typebot. This would allow us to access the actual phone number regardless of whether the user is on a phone or a linked device.

What did you observe instead of what you expected?

I observed that when a message when the remoteJid variable passed to Typebot contains the internal @lid identifier (e.g., user_id@lid) instead of the standard phone number JID (number@s.whatsapp.net).

Because the native integration does not pass the senderPn variable (or remoteJidAlt), I am left with no way to retrieve the user's actual phone number inside the Typebot flow.

I expected the integration to either:

Normalize the remoteJid to the standard phone number format, OR

Pass the senderPn variable to Typebot so we can manually retrieve the correct number from Typebot.

Screenshots/Videos

No response

Which version of the API are you using?

Environment:

Version: 2.3.6

Integration: Typebot (Native)

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions