How to use keep provider? #4346
-
Hello, I'm a little bit confused. ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
To use the 'keep' provider correctly, especially when dealing with filters, ensure that you are specifying the filter according to the version of the Keep API you are using. Since you mentioned an error related to a missing filter for version 2, here's what you need to do:
By following these steps, you should be able to resolve the error related to the missing filter. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
With this configuration I got an error: 'str' object has no attribute 'get'
|
Beta Was this translation helpful? Give feedback.
-
Where can I found all syntax for keep-step? |
Beta Was this translation helpful? Give feedback.
-
In this sample I see validation error: Value must be "gcpmonitoring" | "trello" |
Beta Was this translation helpful? Give feedback.
-
Hey @OlegVPA-UA, Good question. We need to shape the documentation for the Keep provider. The first version of Keep provider used the same "filters system" as the workflow system, mainly you can do something like
From version 2, Keep provider support CEL directly so you can do something like
Here's a full working example - https://github.com/keephq/keep/blob/main/examples/workflows/resolve_old_alerts.yml#L15 |
Beta Was this translation helpful? Give feedback.
Hey @OlegVPA-UA,
Good question. We need to shape the documentation for the Keep provider.
The first version of Keep provider used the same "filters system" as the workflow system, mainly you can do something like
From version 2, Keep provider support CEL directly so you can do something like
Here's a full working example - https://github.com/keephq/keep/blob/main/examples/workflows/resolve_old_alerts.yml#L15