diff --git a/docs/docs/integrations/notion/add-content-to-page.md b/docs/docs/integrations/notion/add-content-to-page.md index 44069f7c9..a4d0d506b 100644 --- a/docs/docs/integrations/notion/add-content-to-page.md +++ b/docs/docs/integrations/notion/add-content-to-page.md @@ -97,7 +97,7 @@ class NotionPageCreator(CustomComponent): raise Exception(error_message) ``` -## Example Usage + Example of using the `AddContentToPage` component in a Langflow flow using a Markdown as input: @@ -112,6 +112,8 @@ Example of using the `AddContentToPage` component in a Langflow flow using a Mar In this example, the `AddContentToPage` component connects to a `MarkdownLoader` component to provide the markdown text input. The converted Notion blocks are appended to the specified Notion page using the provided `block_id` and `notion_secret`. + + ## Best Practices When using the `AddContentToPage` component: diff --git a/docs/docs/integrations/notion/list-pages.md b/docs/docs/integrations/notion/list-pages.md index 726381ce6..42620c13f 100644 --- a/docs/docs/integrations/notion/list-pages.md +++ b/docs/docs/integrations/notion/list-pages.md @@ -140,7 +140,7 @@ class NotionListPages(CustomComponent): return [Record(text=self.status, data=[])] ``` -## Example Usage + Here's an example of how you can use the `NotionListPages ` component in a Langflow flow and passing to the Prompt component: @@ -157,6 +157,7 @@ Here's an example of how you can use the `NotionListPages In this example, the `NotionListPages ` component is used to retrieve specific pages from a Notion database based on the provided filters and sorting options. The retrieved data can then be processed further in the subsequent components of the flow. + ## Best Practices diff --git a/docs/docs/integrations/notion/list-users.md b/docs/docs/integrations/notion/list-users.md index 0e77801ed..561d9e834 100644 --- a/docs/docs/integrations/notion/list-users.md +++ b/docs/docs/integrations/notion/list-users.md @@ -93,19 +93,20 @@ class NotionUserList(CustomComponent): return records ``` -> **Example Usage** -> -> Here's an example of how you can use the `NotionUserList` component in a Langflow flow and passing the outputs to the Prompt component: + +Here's an example of how you can use the `NotionUserList` component in a Langflow flow and passing the outputs to the Prompt component: + + ## Best Practices > **Best Practices** diff --git a/docs/docs/integrations/notion/page-content-viewer.md b/docs/docs/integrations/notion/page-content-viewer.md index c8b23b05d..aac0dc40a 100644 --- a/docs/docs/integrations/notion/page-content-viewer.md +++ b/docs/docs/integrations/notion/page-content-viewer.md @@ -105,9 +105,9 @@ class NotionPageContent(CustomComponent): return text ``` -> **Example Usage** -> -> Here's an example of how you can use the `NotionPageContent` component in a Langflow flow: + + +Here's an example of how you can use the `NotionPageContent` component in a Langflow flow: + ## Best Practices diff --git a/docs/docs/integrations/notion/page-create.md b/docs/docs/integrations/notion/page-create.md index aeb10354b..591436df2 100644 --- a/docs/docs/integrations/notion/page-create.md +++ b/docs/docs/integrations/notion/page-create.md @@ -102,8 +102,8 @@ Here's an example of how to use the `NotionPageCreator` component in a Langflow diff --git a/docs/docs/integrations/notion/search.md b/docs/docs/integrations/notion/search.md index 34971412a..fc89f6420 100644 --- a/docs/docs/integrations/notion/search.md +++ b/docs/docs/integrations/notion/search.md @@ -146,8 +146,7 @@ class NotionSearch(CustomComponent): return [Record(text=self.status, data=[])] ``` -## Example Usage - + Here's an example of how you can use the `NotionSearch` component in a Langflow flow: In this example, the `NotionSearch` component is used to search for pages and databases in Notion based on the provided query and filter criteria. The retrieved data can then be processed further in the subsequent components of the flow. + ## Best Practices