Repository navigation
feat(flows): add call phone number button - #1599
Merged
Merged
Conversation
viethung0o0
force-pushed
the
feat/call-phone-number-button
branch
4 times, most recently
from
October 31, 2026 20:23
95e8ea4 to
ac46fc4
Compare
A flow button can now call a phone number. Messenger, Zalo and webchat send it as their own call control; channels without one send a reply button showing the number, and tapping it replies with the number. - flow-config: callPhoneNumber button and step, one number rule (libphonenumber), per-channel nativeButtonTypes policy, FlowSpec `call` field, and rejection on quick replies, message templates and the WhatsApp Flow button - worker: validates the number at send time (an invalid one becomes an inert button), adds the number to the title on reply channels, and replies with the number when such a button is tapped - messenger/zalo: phone_number and oa.open.phone buttons; webchat and inbox render a tel: link, and carousel card buttons now open links and reply like other template buttons - builder: call number editor with an optional, searchable country picker that defaults to the workspace country, and a phone icon on call buttons in the canvas
viethung0o0
force-pushed
the
feat/call-phone-number-button
branch
from
November 1, 2026 02:25
ac46fc4 to
00634fa
Compare
viethung0o0
marked this pull request as ready for review
November 1, 2026 03:26
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
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
+14155552671) or as an expression with{{variables}}.phone_number), Zalo (oa.open.phone) and webchat (tel:link) show a native call control, as listed in each channel'snativeButtonTypespolicy. Other channels get a reply button that shows the number and replies with it when tapped.+…number picks its country, and a phone icon marks call buttons on the canvas.call), andcapabilities.getreportsnativeButtonTypes.Behavior change outside the call button
Not included
19001080) are rejected. Messenger requires+and a country code.Validation
pnpm lint, including the builder i18n checkpnpm turbo check-typesacross the repoIssue