You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/platform/integrations/ai/langflow.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ For more information on Langflow, visit its [documentation](https://docs.langflo
22
22
23
23
## How to use Apify with Langflow
24
24
25
-
This guide will first demonstrate how to call Apify Actors by using the [RAG Web Browser](https://apify.com/apify/rag-web-browser) Actor to search Google for a query and extract the search results. Then, it will provide an example of using an AI agent workflow to search the web for a company's social media profiles and extract data from them. We will use the [Google Search Results Scraper](https://apify.com/apify/google-search-scraper) Actor to search the web for social media profiles of a given company. Then, we will use the [TikTok Data Extractor](https://apify.com/clockworks/free-tiktok-scraper) Actor to extract data from the TikTok profiles.
25
+
This guide will demonstrate two different ways to use Apify Actors with Langflow:
26
+
-**Calling Apify Actors in Langflow**: We will use the [RAG Web Browser](https://apify.com/apify/rag-web-browser) Actor to search Google for a query and extract the search results.
27
+
-**Building a flow to search for company's social media profiles**: We will use the [Google Search Results Scraper](https://apify.com/apify/google-search-scraper) Actor to search the web for social media profiles of a given company. Then, we will use the [TikTok Data Extractor](https://apify.com/clockworks/free-tiktok-scraper) Actor to extract data from the TikTok profiles.
26
28
27
29
:::note Cloud vs local setup
28
30
@@ -50,12 +52,7 @@ When the platform is started, open the [Langflow UI](http://127.0.0.1:7860) in y
50
52
51
53
### Creating a new flow
52
54
53
-
First, we need to create a new flow.
54
-
55
-
On the Langflow welcome screen, click the **New Flow** button:
56
-

57
-
58
-
On the **New Flow** screen, click **Blank Flow**:
55
+
On the Langflow welcome screen, click the **New Flow** button and then click **Blank Flow**:
Next, we need to configure the Apify Actors components. First, input your API token (learn how to get it [here](https://docs.apify.com/platform/integrations/api)). Then, set the Actor ID of the component to `apify/rag-web-browser` to use the [RAG Web Browser](https://apify.com/apify/rag-web-browser). Set the **Run input** field to pass arguments to the Actor run, allowing it to search Google with the query `"what is monero?"` (an example Actor input can be found [here](https://apify.com/apify/rag-web-browser/input-schema)):
66
+
Next, we need to configure the Apify Actors components. First, input your API token (learn how to get it [here](https://docs.apify.com/platform/integrations/api)). Then, set the Actor ID of the component to `apify/rag-web-browser` to use the [RAG Web Browser](https://apify.com/apify/rag-web-browser). Set the **Run input** field to pass arguments to the Actor run, allowing it to search Google with the query `"what is monero?"` (full Actor input schema can be found [here](https://apify.com/apify/rag-web-browser/input-schema)):
70
67
71
68
```json
72
69
{"query": "what is monero?", "maxResults": 3}
@@ -94,8 +91,6 @@ Now that we understand how to call Apify Actors, let's build a practical example
94
91
95
92
### Building a flow to search for company's social media profiles
96
93
97
-
In this example, we will build a flow that searches the web for a company's social media profiles and extracts data from them.
98
-
99
94
Create a new flow and add two **Apify Actors** components from the menu.
100
95
101
96
Input your API token (learn how to get it [here](https://docs.apify.com/platform/integrations/api)) and set the Actor ID of the first component to `apify/google-search-scraper` and the second one to `clockworks/free-tiktok-scraper`:
0 commit comments