Notion¶
Notion Integration for HolmesGPT
Enabling this toolset allows HolmesGPT to fetch pages from Notion, making it useful when providing Notion-based runbooks.
Setup Instructions¶
-
Create a Webhook Integration
- Go to the Notion Developer Portal.
- Create a new integration with read content capabilities.
-
Grant Access to Pages
- Open the desired Notion page.
- Click the three dots in the top right.
- Select Connections and add your integration.
-
Configure Authentication
- Retrieve the Internal Integration Secret from Notion.
- Create a Kubernetes secret in your cluster with this key.
- Configure the
NOTION_AUTHenvironment variable.
Configuration¶
Set the environment variable:
Add the following to ~/.holmes/config.yaml. Create the file if it doesn't exist:
toolsets:
notion:
enabled: true
config:
additional_headers:
Authorization: Bearer {{ env.NOTION_AUTH }}
After making changes to your configuration, run:
Create a Kubernetes secret in the namespace Holmes runs in:
kubectl create secret generic holmes-notion \
--from-literal=NOTION_AUTH="<your Notion integration secret>" \
-n <namespace>
When using the standalone Holmes Helm Chart, update your values.yaml:
extraEnvVarsSecrets:
- holmes-notion
toolsets:
notion:
enabled: true
config:
additional_headers:
Authorization: Bearer {{ env.NOTION_AUTH }}
Apply the configuration:
Create a Kubernetes secret in the namespace Holmes runs in:
kubectl create secret generic holmes-notion \
--from-literal=NOTION_AUTH="<your Notion integration secret>" \
-n <namespace>
When using the Robusta Helm Chart (which includes HolmesGPT), update your generated_values.yaml:
holmes:
extraEnvVarsSecrets:
- holmes-notion
toolsets:
notion:
enabled: true
config:
additional_headers:
Authorization: Bearer {{ env.NOTION_AUTH }}
Apply the configuration:
Timeout Configuration¶
By default, the Notion toolset uses a 5-second timeout for webpage requests. If you need to increase the timeout for slower Notion API responses, you can set the INTERNET_TOOLSET_TIMEOUT_SECONDS environment variable:
When using the standalone Holmes Helm Chart, update your values.yaml:
Apply the configuration:
When using the Robusta Helm Chart (which includes HolmesGPT), update your generated_values.yaml:
Apply the configuration:
Capabilities¶
The table below describes the specific capabilities provided by this toolset. HolmesGPT can decide to invoke any of these capabilities when answering questions or investigating issues.
| Tool Name | Description |
|---|---|
| fetch_notion_webpage | Fetch a Notion webpage. Use this to fetch Notion runbooks if they are present before starting your investigation |