Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add apify actors integration #5862

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

MQ37
Copy link

@MQ37 MQ37 commented Jan 22, 2025

Description:
This PR introduces a new integration with Apify, enabling Langflow users to run Apify Actors within their flows. Apify provides a powerful platform for web scraping, data extraction, and automation.

New Features:

Apify Actors Component:

  • Run Apify Actors within Langflow using an Apify API token.
  • Accepts an Actor ID and Run Input JSON to configure execution.
  • Outputs an Actor Run Result in JSON format.
  • Can be used as a standalone component or as a Tool within an AI Agent.

How to Use:

  1. Obtain an Apify API token from the Apify Console.
  2. Add the Apify Actors component in Langflow.
  3. Select an Actor and retrieve its Actor ID from the Apify Actor Store, e.g., apify/website-content-crawler.
  4. Provide Run Input JSON to configure execution. An example for apify/website-content-crawler can be found here.
  5. Use the output for further processing or AI-driven automation.

@github-actions github-actions bot added the enhancement New feature or request label Jan 22, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 22, 2025
@MQ37 MQ37 marked this pull request as ready for review January 22, 2025 12:39
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 22, 2025
@MQ37 MQ37 marked this pull request as draft January 22, 2025 14:11
@MQ37
Copy link
Author

MQ37 commented Jan 22, 2025

after merge from main the Component does not work and throws:

                             PydanticSerializationError: Unable to serialize unknown type: <class                                                                     
                             'pydantic._internal._model_construction.ModelMetaclass'> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant