🚀 Scaling pieces with AI — a rolling announcement

If you head to our Pieces page and sort pieces by Popularity, you’ll notice that Webhook and HTTP are used a lot.

So what?

HTTP and Webhooks are widely used. This means that although we have ~200 pieces, they’re not I’m not saying that we can actually get rid of HTTP and Webhooks (we’re also working on improving their experience every day), but we want to align our offering with our typical no-code users.

Announcing AI to Create Pieces

We’re positive that AI will be leading the creation and development of our pieces in the future, and today we’re starting with the first steps.

Here is how our initial roadmap looks like for this project:

  • Create piece authentication from OpenAPI specs.
  • Add a generic action to the piece: “Custom API Call”.
  • Test the authentication and the generic action pieces across tens of the pieces we built manually and compare results.
  • Make this available as a CLI tool for pieces developers (and keep shipping new features to this CLI).
  • Generate actions from paths in the OpenAPI specs.
  • Find ways to filter out meaningful actions.
  • Find ways to make the actions usable on the UI (not just 1:1 mapping of the API endpoints). For example: handling dynamic dropdowns, dynamic props and more.
  • Improve developer experience to ensure the tools reduce building times by X%.
  • Find ways to find meaningful triggers and build them (Scheduled and Instant).

Project Ownership

Our team member Saif owns this project and is doing all the work now, he’ll be updating this topic with progress and findings.

Contribution

You can share your thoughts here or contact Saif or me to collaborate more on the project.

3 Likes

Our 1st Update - Scale Pieces :rocket:

You will be able to pick any openAPI spec. either from a URL or locally as a JSON file.

npm run cli pieces scale http://localhost:3000/slack.json

  • It will create a normal piece using ActivePieces CLI
  • Read your openAPI spec and prepare it for data extraction.
  • Extract the right fields for piece authentication.

Example Output:

export const SlackAuth = PieceAuth.OAuth2({
  description: '',
  authUrl: 'https://slack.com/oauth/v2/authorize',
  tokenUrl: 'https://slack.com/api/oauth.v2.access',
  required: true,
  scope: [
	'channels:read',
	'channels:manage',
  ],
});

Using AI for extracting the needed data from openAPIs, You will be able to create your pieces easily

1 Like

Nice really love this idea!! And I can see this work.

What about dropping an API reference url from an application into AI, based on the different kind of API reference formats out there you could create a generic flow that will recognize the system and know where to look for. In this way you can just drop the API reference URL and AI will scrape out all the data it needs to set-up all actions and triggers, ask for or not asked for by the community :wink:

Might sounds to easy but having an ambition is always good haha

1 Like

Great idea Bram!
We were thinking about something similar to that. But for now, we’re trying to publish this version which depends on openAPI specs. as a first stage

Wait for it :pinched_fingers::rocket:

1 Like

:rocket: [BETA] Generate pieces using AI :rocket:

I’m here to announce that we’ve released the documentation for our CLI, which allows developers to generate pieces using AI and openAPI specifications.

Current Features

Using AI, you can now:

  • Automatically generate piece definitions based on the openAPI specification.
  • Auto-generate piece authentication from the openAPI security scheme.
  • Include a standard customApiCall action in every piece generated.
  • Automatically generate actions based on the openAPI spec paths and parameters.

Usage

Check the docs for more information! :rocket:

2 Likes

[Under Development Feature] | HTTP Request AI Writer :zap: :robot:

Simplify Your Workflow with Activepieces

Hey everyone!

Ever found yourself needing a specific service in Activepieces and it’s just not there? Like, for instance, trying to integrate with Slack?

Right now, you can create a custom HTTP request in Activepieces.

But let’s be real, filling out those requests by hand is a pain. Check out the HTTP form:

It’s a lot, isn’t it?

Now, picture this: you open a copilot window and just type:

send a slack message to channel {channel-id}

And boom! The HTTP form fills out automatically. :rocket: Just give it a quick look, and you’re all set!

No more manual entries, no more hassle. It’s all about making things easier and faster for you.

3 Likes

This would be incredible. When will it be ready to test?

1 Like

These days, bro
We’re going to announce today or tomorrow

1 Like

Connect to Any Service with AI: Introducing HTTP Request Writer

Now Available :rocket:

Hello, Activepieces community! :wave:
We recently hinted at something exciting: the HTTP Request Writer!

Born from your feedback in the Feature Requests category, have you ever needed to integrate a service like Partnero but didn’t have the right tools?

We developed the Request Writer for such needs! Just type a prompt describing the service and what you need done, and AI does the rest.

How to Get Started :crossed_fingers:

1. Find the ‘Send HTTP Request’ Step

2. Go to the copilot in the side menu

3. Enter your prompt

4. There you go! :rocket:

You will find this new feature in your cloud workspace in 1 - 2 days.

Note for Self-Hosters :grinning:

If you’re hosting it yourself, we’re working to make things more adjustable for you. Detailed instructions will be provided soon!

3 Likes

Limitations :no_entry:

In some cases you will face a problem generating a request in the copilot like this: :point_down:

Probably this will be because of trying to get a very large api reference web page that will exceed our maximum token size for openAI service.

1 Like

Hi Saif,

I don’t see CoPilot icon in my cloud workspace today.
Is it something that we will see this week or two?

This is going to be an awesome feature. Thanks so much.

Mal

Hi @Mal ,
We’re sorry for this delay :pray:
It’s being deployed to cloud and we’ll announce here once it’s done.
You can expect it today or tomorrow max.

1 Like

Hello, Activepieces community :wave:
Now the HTTP request writer copilot is now live :rocket:

Feel free to test it.
Our main focus were the services requested in Feature Requests by users
Don’t hesitate to leave positive/negative feedbacks.

Best Regards
Saif Mohamed
Bye :wave:

1 Like