-
Hello KeepHQ Community, curl command:
then I get:
What I've observed: If I run the workflow manually it works and I can the see the message in teams channel. Here is what I can see:
My question: Given the above, why might my workflow not be triggering? Are there specific debugging steps or logs I should be looking for within KeepHQ to understand why the cel condition isn't evaluating to true, or if the workflow isn't being considered at all? Any common pitfalls with cel expressions or workflow triggers that I might be missing? Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @hopewise! I'm Dosu and I’m helping the keep team. The most likely reason your workflow isn't triggering is a type mismatch in your CEL expression: in some KeepHQ setups, the source field is treated as a list rather than a string. This means that an expression like Other common pitfalls: mixed quote styles in CEL expressions can cause validation errors in the UI, so stick to either single or double quotes throughout your expression [reference]. Also, make sure your trigger type is For debugging, KeepHQ logs errors when parsing CEL expressions. If you see "Error parsing event from keep" or "Error processing event," check the logs for details—these often point to the exact CEL parsing or evaluation problem [reference]. Try updating your CEL condition to:
and see if the workflow triggers as expected. If you still see errors, check the logs for parsing or evaluation exceptions—they'll usually indicate if there's a type or syntax issue in your CEL expression. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@hopewise can you try source as a list?:
That's how it is expected. |
Beta Was this translation helpful? Give feedback.
Hi @hopewise! I'm Dosu and I’m helping the keep team.
The most likely reason your workflow isn't triggering is a type mismatch in your CEL expression: in some KeepHQ setups, the source field is treated as a list rather than a string. This means that an expression like
source == 'teams-api-test'
won't match, because it's comparing a list to a string, which CEL doesn't support. Instead, usesource.contains("teams-api-test")
—this works whether source is a string or a list and should resolve the issue for workflow triggers based on the source field [reference].Other common pitfalls: mixed quote styles in CEL expressions can cause validation errors in the UI, so stick to either single or dou…