fix(contacts): show user_id and channel ids in contact detail panel - #1145
Open
JuanBifrost wants to merge 5 commits into
Open
fix(contacts): show user_id and channel ids in contact detail panel#1145JuanBifrost wants to merge 5 commits into
JuanBifrost wants to merge 5 commits into
Conversation
The Contact ID row was bound to ContactInbox.sourceId (e.g. WhatsApp wa_id) instead of the contact record id returned by the API. Co-authored-by: Cursor <cursoragent@cursor.com>
Align the sidebar with ChatbotX system fields for faster API testing:
- User ID ({{user_id}}) shows the workspace contact record id
- User Code ({{user_code}}) shows ContactInbox.sourceId (e.g. WhatsApp wa_id)
- Existing WhatsApp scoped rows still expose {{wa_user_id}} / {{wa_user_name}}
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Let template FLOW buttons use actionData with variables, dump the full nfm_reply to a custom field, and continue the IRIS graph via a Flow completed branch after the user finishes the flow. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The contact detail sidebar showed
ContactInbox.sourceId(e.g. WhatsApp wa_id) under Contact ID instead of the workspace contact record id.This PR aligns the panel with ChatbotX system fields for faster API testing:
{{user_id}}(contact.id, used inGET /v1/contacts/id:{id}){{user_code}}(ContactInbox.sourceId, e.g. WhatsApp phone / wa_id){{wa_user_id}}and{{wa_user_name}}Tested in production on a WhatsApp Cloud API channel (IRIS).
How to test
contact.idfromGET /v1/contacts/id:{id}.sourceId(phone / wa_id).sourceUserIdwhen present.sourceIdwhen set.Screenshots
Contact detail panel after the change (User ID / User Code / WhatsApp User ID):