-
Notifications
You must be signed in to change notification settings - Fork 10
docs: rewrite Label the incoming message with best practices #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
bde3bda
906d9f7
ae40576
165b535
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,42 @@ | ||
| > ### **1 minute read `Beginner`** | ||
| ___ | ||
| <h3> | ||
| <table> | ||
| <tr> | ||
| <td><b> 3 minutes read</b></td> | ||
| <td style={{ paddingLeft: '40px' }}><b>Level: Beginner </b></td> | ||
| <td style={{ paddingLeft: '40px' }}><b>Last Updated: July 2026</b></td> | ||
| </tr> | ||
| </table> | ||
| </h3> | ||
|
|
||
| **Labelling the incoming message flow action is used to categorize the messages into separate buckets. This helps you capture data points which can be used for creating reports, analytics etc.** | ||
| **Labelling the incoming message flow action is used to categorize the messages into separate buckets. This helps you capture data points which can be used for creating reports, analytics etc.** | ||
|
|
||
| ## Video Tutorial | ||
| For instance, if someone chooses English as their preferred language, you can label their message as 'English' and then generate charts for how many people chose English. | ||
|
|
||
| <iframe width="800" height="500" src="https://www.youtube.com/embed/Y2KWDO7SfnI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
| ## How it works | ||
|
|
||
| This node labels the contact's most recent incoming message - not any message the bot sends. Every time the flow runs this node, it adds the label(s) you choose to whichever message the contact sent last. | ||
|
|
||
| Because of this, the node only does something useful if there is a message from the contact to label at that point in the flow. | ||
|
|
||
| ## Adding the node to your flow | ||
|
|
||
| 1. Add a `Label the incoming message` node at the point in your flow where you want to categorize the contact's message. | ||
| 2. Under `Select the labels to apply to the incoming message`, enter the name of an existing label or create a new one. | ||
| 3. Click `Ok` to save the node. | ||
|
|
||
| <br /> | ||
| <br /> | ||
|  | ||
|
|
||
| **For instance, if someone chooses English as their preferred language, you can label their message as 'English' and then generate charts for how many people chose English.** | ||
| ## Best practices | ||
|
|
||
|  | ||
| - Place this node right after a `Wait for Response` node if you want to label what the contact just typed. This guarantees the incoming message being labelled is the reply you're interested in, not an older message from earlier in the conversation. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move this up point 1, which is line 23. Maybe something like "Tip - Place this...."
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Tip - Place this node right after a Added in line 23 |
||
| - If you add this node without a `Wait for Response` immediately before it (for example, right at the start of a flow, before the contact has said anything), there is no incoming message yet and the label is not applied to anything. | ||
| - You can add more than one label to the same node. If the same message already has a label from an earlier point in the flow, the new label is added alongside it rather than replacing it. | ||
| - Keep label names consistent across flows (for example, always use `English` rather than mixing `english` and `English`) so your reports and BigQuery analytics can group them correctly. | ||
|
|
||
| --- | ||
|
|
||
| ## Related video | ||
|
|
||
| This video walks through building a full flow and includes an example of using the `Label the incoming message` node partway through - it's a good reference for seeing the node used in context, but isn't focused on this node alone. | ||
|
|
||
| <iframe width="800" height="500" src="https://www.youtube.com/embed/Y2KWDO7SfnI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this to Note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Note to line 29