diff --git a/docs/docs/integrations/notion/add-content-to-page.md b/docs/docs/integrations/notion/add-content-to-page.md index a4d0d506b..6545b369f 100644 --- a/docs/docs/integrations/notion/add-content-to-page.md +++ b/docs/docs/integrations/notion/add-content-to-page.md @@ -9,13 +9,14 @@ Langflow allows extending its functionality with custom components like `AddCont [Notion Reference](https://developers.notion.com/reference/patch-block-children) -## Component Functionality + The `AddContentToPage` component enables you to: - Convert markdown text to Notion blocks. - Append the converted blocks to a specified Notion page. - Seamlessly integrate Notion content creation into Langflow workflows. + ## Component Usage @@ -114,7 +115,7 @@ In this example, the `AddContentToPage` component connects to a `MarkdownLoader` -## Best Practices + When using the `AddContentToPage` component: @@ -122,8 +123,9 @@ When using the `AddContentToPage` component: - Verify the `block_id` corresponds to the right Notion page/block. - Keep your Notion integration token secure. - Test with sample markdown text before production use. + -## Troubleshooting + If issues arise: @@ -132,4 +134,6 @@ If issues arise: - Ensure markdown text is properly formatted. - Double-check the `block_id` for correctness. + + The `AddContentToPage` component is a powerful tool for integrating Notion content creation into Langflow workflows, facilitating easy conversion of markdown text to Notion blocks and appending them to specific pages. diff --git a/docs/docs/integrations/notion/list-pages.md b/docs/docs/integrations/notion/list-pages.md index 42620c13f..c4bffe66e 100644 --- a/docs/docs/integrations/notion/list-pages.md +++ b/docs/docs/integrations/notion/list-pages.md @@ -10,16 +10,14 @@ Langflow allows you to extend its functionality with custom components. The `Not [Notion Reference](https://developers.notion.com/reference/post-database-query) -> **Tip**: -> -> ### Component Functionality -> -> The `NotionListPages -` component enables you to: -> -> - Query a Notion database with custom filters and sorting options -> - Retrieve specific pages from a Notion database based on the provided criteria -> - Integrate Notion database data seamlessly into your Langflow workflows + + The `NotionListPages` component enables you to: + +- Query a Notion database with custom filters and sorting options +- Retrieve specific pages from a Notion database based on the provided criteria +- Integrate Notion database data seamlessly into your Langflow workflows + + ## Component Usage @@ -159,30 +157,22 @@ 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 + -> **Tip**: -> -> ### Best Practices -> -> When using the `NotionListPages + When using the `NotionListPages ` component, consider the following best practices: -> -> - Ensure that you have a valid Notion integration token with the necessary permissions to query the desired database. -> - Construct the `query_payload` JSON string carefully, following the Notion API documentation for filtering and sorting options. -## Troubleshooting +- Ensure that you have a valid Notion integration token with the necessary permissions to query the desired database. +- Construct the `query_payload` JSON string carefully, following the Notion API documentation for filtering and sorting options. + -> **Warning**: -> -> ### Troubleshooting -> -> If you encounter any issues while using the `NotionListPages -` component, consider the following: -> -> - Double-check that the `notion_secret` and `database_id` are correct and valid. -> - Verify that the `query_payload` JSON string is properly formatted and contains valid filtering and sorting options. -> - Check the Notion API documentation for any updates or changes that may affect the component's functionality. + + If you encounter any issues while using the `NotionListPages` component, consider the following: + +- Double-check that the `notion_secret` and `database_id` are correct and valid. +- Verify that the `query_payload` JSON string is properly formatted and contains valid filtering and sorting options. +- Check the Notion API documentation for any updates or changes that may affect the component's functionality. + The `NotionListPages ` component provides a powerful way to integrate Notion database querying capabilities into your Langflow workflows. By leveraging this component, you can easily retrieve specific pages from a Notion database based on custom filters and sorting options, enabling you to build more dynamic and data-driven flows. diff --git a/docs/docs/integrations/notion/list-users.md b/docs/docs/integrations/notion/list-users.md index 561d9e834..191e18b7b 100644 --- a/docs/docs/integrations/notion/list-users.md +++ b/docs/docs/integrations/notion/list-users.md @@ -9,13 +9,13 @@ Langflow allows you to extend its functionality with custom components. The `Not [Notion Reference](https://developers.notion.com/reference/get-users) -> **Component Functionality** -> -> The `NotionUserList` component enables you to: -> -> - Retrieve user data from Notion -> - Access user information such as ID, type, name, and avatar URL -> - Integrate Notion user data seamlessly into your Langflow workflows + + The `NotionUserList` component enables you to: + +- Retrieve user data from Notion +- Access user information such as ID, type, name, and avatar URL +- Integrate Notion user data seamlessly into your Langflow workflows + ## Component Usage @@ -107,23 +107,21 @@ Here's an example of how you can use the `NotionUserList` component in a Langflo -## Best Practices + + When using the `NotionUserList` component, consider the following best practices: -> **Best Practices** -> -> When using the `NotionUserList` component, consider the following best practices: -> -> - Ensure that you have a valid Notion integration token with the necessary permissions to retrieve user data. -> - Handle the retrieved user data securely and in compliance with Notion's API usage guidelines. +- Ensure that you have a valid Notion integration token with the necessary permissions to retrieve user data. +- Handle the retrieved user data securely and in compliance with Notion's API usage guidelines. + -## Troubleshooting + -> **Troubleshooting** + If you encounter any issues while using the `NotionUserList` component, consider the following: + +>- Double-check that your Notion integration token is valid and has the required permissions. > -> If you encounter any issues while using the `NotionUserList` component, consider the following: -> -> - Double-check that your Notion integration token is valid and has the required permissions. -> - Verify that you have installed the necessary dependencies (`requests`) for the component to function properly. -> - Check the Notion API documentation for any updates or changes that may affect the component's functionality. +- Verify that you have installed the necessary dependencies (`requests`) for the component to function properly. +- Check the Notion API documentation for any updates or changes that may affect the component's functionality. + The `NotionUserList` component provides a seamless way to integrate Notion user data into your Langflow workflows. By leveraging this component, you can easily retrieve and utilize user information from Notion, enhancing the capabilities of your Langflow applications. Feel free to explore and experiment with the `NotionUserList` component to unlock new possibilities in your Langflow projects! diff --git a/docs/docs/integrations/notion/page-content-viewer.md b/docs/docs/integrations/notion/page-content-viewer.md index aac0dc40a..69230c08c 100644 --- a/docs/docs/integrations/notion/page-content-viewer.md +++ b/docs/docs/integrations/notion/page-content-viewer.md @@ -9,13 +9,15 @@ Langflow allows you to extend its functionality with custom components. The `Not [Notion Reference](https://developers.notion.com/reference/get-page) -> **Component Functionality** -> -> The `NotionPageContent` component enables you to: -> -> - Retrieve the content of a Notion page as plain text -> - Extract text from various block types, including paragraphs, headings, lists, and more -> - Integrate Notion page content seamlessly into your Langflow workflows + + + The `NotionPageContent` component enables you to: + +- Retrieve the content of a Notion page as plain text +- Extract text from various block types, including paragraphs, headings, lists, and more +- Integrate Notion page content seamlessly into your Langflow workflows + + ## Component Usage @@ -119,24 +121,20 @@ Here's an example of how you can use the `NotionPageContent` component in a Lang /> -## Best Practices + + When using the `NotionPageContent` component, consider the following best practices: -> **Best Practices** -> -> When using the `NotionPageContent` component, consider the following best practices: -> -> - Ensure that you have the necessary permissions to access the Notion page you want to retrieve. -> - Keep your Notion integration token secure and avoid sharing it publicly. -> - Be mindful of the content you retrieve and ensure that it aligns with your intended use case. +- Ensure that you have the necessary permissions to access the Notion page you want to retrieve. +- Keep your Notion integration token secure and avoid sharing it publicly. +- Be mindful of the content you retrieve and ensure that it aligns with your intended use case. + -## Troubleshooting + + If you encounter any issues while using the `NotionPageContent` component, consider the following: -> **Troubleshooting** -> -> If you encounter any issues while using the `NotionPageContent` component, consider the following: -> -> - Double-check that you have provided the correct Notion page ID. -> - Verify that your Notion integration token is valid and has the necessary permissions. -> - Check the Notion API documentation for any updates or changes that may affect the component's functionality. +- Double-check that you have provided the correct Notion page ID. +- Verify that your Notion integration token is valid and has the necessary permissions. +- Check the Notion API documentation for any updates or changes that may affect the component's functionality. + The `NotionPageContent` component provides a seamless way to integrate Notion page content into your Langflow workflows. By leveraging this component, you can easily retrieve and process the content of Notion pages, enabling you to build powerful and dynamic applications. Explore the capabilities of the `NotionPageContent` component and unlock new possibilities in your Langflow projects! diff --git a/docs/docs/integrations/notion/page-update.md b/docs/docs/integrations/notion/page-update.md index 87c6ba63c..74c20e8b7 100644 --- a/docs/docs/integrations/notion/page-update.md +++ b/docs/docs/integrations/notion/page-update.md @@ -116,16 +116,15 @@ Here's an example of how to use the `NotionPageUpdate` component in a Langflow f /> -## Best Practices - + When using the `NotionPageUpdate` component, consider the following best practices: - Ensure that you have a valid Notion integration token with the necessary permissions to update page properties. - Handle edge cases and error scenarios gracefully, such as invalid JSON format for properties or API request failures. - We recommend using an LLM to generate the inputs for this component, to allow flexibilty + -## Troubleshooting - + If you encounter any issues while using the `NotionPageUpdate` component, consider the following: - Double-check that you have correctly configured the component with the required parameters, including the page ID, properties JSON, and Notion integration token. @@ -133,4 +132,6 @@ If you encounter any issues while using the `NotionPageUpdate` component, consid - Check the Langflow logs for any error messages or exceptions related to the component, such as invalid JSON format or API request failures. - Consult the [Notion API Documentation](https://developers.notion.com/reference/patch-page) for specific troubleshooting steps or common issues related to updating page properties. + + By leveraging the `NotionPageUpdate` component in Langflow, you can easily integrate updating Notion page properties into your language model workflows and build powerful applications that extend Langflow's capabilities. diff --git a/docs/docs/integrations/notion/search.md b/docs/docs/integrations/notion/search.md index fc89f6420..31f298ce6 100644 --- a/docs/docs/integrations/notion/search.md +++ b/docs/docs/integrations/notion/search.md @@ -9,15 +9,14 @@ Langflow allows you to extend its functionality with custom components. The `Not [Notion Reference](https://developers.notion.com/reference/search) -> **Tip**: -> -> ### Component Functionality -> -> The `NotionSearch` component enables you to: -> -> - Search for pages and databases in Notion that have been shared with an integration -> - Filter the search results based on object type (pages or databases) -> - Sort the search results in ascending or descending order based on the last edited time + + The `NotionSearch` component enables you to: + +- Search for pages and databases in Notion that have been shared with an integration +- Filter the search results based on object type (pages or databases) +- Sort the search results in ascending or descending order based on the last edited time + + ## Component Usage @@ -161,30 +160,22 @@ Here's an example of how you can use the `NotionSearch` component in a Langflow 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 + + When using the `NotionSearch` component, consider the following best practices: -> **Tip**: -> -> ### Best Practices -> -> When using the `NotionSearch` component, consider the following best practices: -> -> - Ensure that you have a valid Notion integration token with the necessary permissions to search for pages and databases. -> - Provide a meaningful search query to narrow down the results to the desired pages or databases. -> - Choose the appropriate filter type (`page` or `database`) based on your search requirements. -> - Consider the sorting direction (`ascending` or `descending`) to organize the search results effectively. +- Ensure that you have a valid Notion integration token with the necessary permissions to search for pages and databases. +- Provide a meaningful search query to narrow down the results to the desired pages or databases. +- Choose the appropriate filter type (`page` or `database`) based on your search requirements. +- Consider the sorting direction (`ascending` or `descending`) to organize the search results effectively. + -## Troubleshooting + + If you encounter any issues while using the `NotionSearch` component, consider the following: -> **Warning**: -> -> ### Troubleshooting -> -> If you encounter any issues while using the `NotionSearch` component, consider the following: -> -> - Double-check that the `notion_secret` is correct and valid. -> - Verify that the Notion integration has the necessary permissions to access the desired pages and databases. -> - Check the Notion API documentation for any updates or changes that may affect the component's functionality. +- Double-check that the `notion_secret` is correct and valid. +- Verify that the Notion integration has the necessary permissions to access the desired pages and databases. +- Check the Notion API documentation for any updates or changes that may affect the component's functionality. + The `NotionSearch` component provides a powerful way to integrate Notion search capabilities into your Langflow workflows. By leveraging this component, you can easily search for pages and databases in Notion based on custom queries and filters, enabling you to build more dynamic and data-driven flows.