Skip to content

Commit 605ac2e

Browse files
committed
remove new flow screen, split use cases into bullet points, implement suggestions
1 parent cf05aca commit 605ac2e

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

sources/platform/integrations/ai/langflow.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ For more information on Langflow, visit its [documentation](https://docs.langflo
2222

2323
## How to use Apify with Langflow
2424

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.
2628

2729
:::note Cloud vs local setup
2830

@@ -50,12 +52,7 @@ When the platform is started, open the [Langflow UI](http://127.0.0.1:7860) in y
5052
5153
### Creating a new flow
5254

53-
First, we need to create a new flow.
54-
55-
On the Langflow welcome screen, click the **New Flow** button:
56-
![Langflow welcome screen - New Flow](../images/langflow/new_flow.png)
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**:
5956
![New Flow screen - Blank Flow](../images/langflow/new_blank_flow.png)
6057

6158
Now, we can start building our flow.
@@ -66,7 +63,7 @@ To call Apify Actors in Langflow, we need to add the **Apify Actors** component
6663
From the bundle menu, add **Apify Actors** component:
6764
![Flow - Add Apify Actors](../images/langflow/bundles_apify.png)
6865

69-
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)):
7067

7168
```json
7269
{"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
9491

9592
### Building a flow to search for company's social media profiles
9693

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-
9994
Create a new flow and add two **Apify Actors** components from the menu.
10095

10196
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`:
-111 KB
Binary file not shown.

0 commit comments

Comments
 (0)