Repository navigation
[Templates] add display value to template message - #356
Merged
Merged
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
smn
reviewed
Nov 25, 2026
| # block's var at send time. `FlowRunner.Spec.Block.evaluate_user_input/4` replaces that var | ||
| # with the result below, so `display` has to ride along with it. | ||
| @spec carry_display(map, FlowRunner.Spec.Block.t(), FlowRunner.Context.t()) :: map | ||
| defp carry_display(result, %{name: name}, %{vars: vars}) when is_binary(name) do |
smn
approved these changes
Nov 25, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Currently template message results only hold the tapped button's index, e.g '0'. Journeys can't access the template message text that was sent on WA. Turn wants to read templates aloud via TTS, and that needs the rendered text on the block result - including variables substituted.
An upcoming change in engage saves the sent message text. Without this change, a button reply wipes that text. With it, replies keep the text and add label. Flow submissions stay untouched.
This PR will unlock this feature: