Problem Description:
I’m running a scenario where a Telegram bot fetches all new messages and sends them to Make (Integromat). In this scenario, I want to analyze each message and identify keywords that match options in a multi-select property in Notion.
Setup:
- Keyword Matching: The scenario pulls all selection options from the multi-select property in Notion and compares them to the content of each Telegram message. If the message contains words that match any of these options, it should add these matching words to the multi-select field in Notion.
- Expected Behavior: If multiple keywords match, all of them should be selected in the Notion multi-select property for that database item. For example, if a message includes the keywords “5M BOS” and “1H POI” (both of which are options in Notion’s multi-select), I want both “5M BOS” and “1H POI” to be selected in one update.
Issue:
Currently, each matched keyword is processed as a separate operation in Make. This results in the following problem:
- Each operation overwrites the previous selection in Notion. For instance, if “5M BOS” is matched and selected in the first operation, then “1H POI” is selected in the next operation, replacing “5M BOS” and leaving only the last matched word. Instead of having both “5M BOS” and “1H POI” selected, only the final match (e.g., “1H POI”) remains in the multi-select property.
Desired Output Before Updating Notion:
Here’s an example of the output format I’m trying to achieve for the Notion update module:
[
{
"__IMTMATCH__": "5M BOS"
},
{
"__IMTMATCH__": "1H POI"
}
]
Current Output in Separate Operations:
Currently, the setup produces two separate operations for each match, like this:
Operation 1:
[
{
"page": "13ac73fe-3d43-81c0-a198-d39636670f1d",
"fields": {
"Fplx": true,
"O%7CuO": {
"includeTime": false
},
"bi%3C~": [
"5M BOS"
]
},
"select": "list",
"database": "13ac73fe-3d43-80da-a519-cef10aec291b"
}
]
Operation 2:
[
{
"page": "13ac73fe-3d43-81c0-a198-d39636670f1d",
"fields": {
"Fplx": true,
"O%7CuO": {
"includeTime": false
},
"bi%3C~": [
"1H POI"
]
},
"select": "list",
"database": "13ac73fe-3d43-80da-a519-cef10aec291b"
}
]
Each operation runs individually, so the final Notion multi-select field only shows the last keyword instead of all matches.
Also here is my setup
blueprint (8).json (194.6 KB)
Thank you for your time and assistance. Let me know if you need more details to provide a solution.