Build workflows faster with AI
Published: 2023-07-27 19:42:21

---
title: Build workflows faster with AI
published: true
date: 2023-07-27 16:54:07 UTC
tags: 
canonical_url: https://pipedream.com/blog/build-workflows-faster-with-ai/
---

 ![Build workflows faster with AI](https://pipedream.com/blog/content/images/2023/07/dylburger_A_large_group_of_small_cute_childlike_robots_furiousl_c6fc4e65-c994-4e8e-93cc-319ed044f0c4-1.jpg)

The CEO of Stability AI, Emad Mostaque, [recently predicted](https://decrypt.co/147191/no-human-programmers-five-years-ai-stability-ceo) that "there will be no programmers in five years." It's an intriguing idea, but Emad is wrong.

Since the release of Copilot and ChatGPT, we've seen Pipedreamers write more code than ever. We expect that trend to continue. Thomas Frank, one of our most prolific users (see his [voice notes to Notion workflow](https://thomasjfrank.com/how-to-transcribe-audio-to-text-with-chatgpt-and-notion/)), only learned to code a year ago with the help of AI:

{% twitter 1655315536404787200 %} 

We've always wanted to build AI into Pipedream itself, and we knew we'd start with code. Today, we launched a way to generate code from English (or any language ChatGPT supports). You select an app, tell us what you want to do, and we'll generate the Node.js code that does it.

![Build workflows faster with AI](https://res.cloudinary.com/pipedreamin/image/upload/v1690486853/docs/2023-07-27_12.13.34_fwqmld.gif)

It's the quickest way to build integrations with any API, and gives you full code-level control over your app.

## How to use it

To manage load as we scale this out, we've released this to all [Advanced and Business](https://pipedream.com/pricing) customers. Since you're getting a dedicated AI engineer, we think it's worth the upgrade!

Add a new step to your workflow, select an app, and choose the **Use AI** option.

![Build workflows faster with AI](https://pipedream.com/blog/content/images/2023/07/image-2.png)

This opens a modal where you can tell us the code you want us to write. **Be verbose.** Write something like "Send a Slack message to the `#general` channel in the following format: `Hello, ${steps.user.name}`" vs. just "Send a Slack message".

![Build workflows faster with AI](https://pipedream.com/blog/content/images/2023/07/Screenshot-2023-07-27-at-8.43.47-AM.png)

You can also edit existing code. Click the **Edit with AI** button at the top-right of any Node.js code step. You'll see the code gen window appear with the original code from your step. Enter a prompt to suggest an edit, and we'll give you the modified code.

![Build workflows faster with AI](https://res.cloudinary.com/pipedreamin/image/upload/v1690472898/docs/2023-07-27_08.46.19_ixiikh.gif)

The code gen service understands the [Pipedream component API](http://localhost:8080/docs/components/api/) and references the API docs of [integrated apps (opens new window)](https://pipedream.com/apps). For example, you can tell it to include specific [props](http://localhost:8080/docs/components/api/#props) (input) or [async options](http://localhost:8080/docs/components/api/#async-options-example), and reference specific API endpoints you want to use for the selected app. The more information you provide, the better the code will be.

## What's next

First, we're adding **Python** support to the code gen service. Soon you'll be able to generate either Node.js or Python code with AI, all in the same workflow.

And we're testing the interface for generating **full workflows** , with triggers, actions, custom code, and anything you need to build your app.

We've also been working on our Q&A bot, Pi, for a few months.

![Build workflows faster with AI](https://pipedream.com/blog/content/images/2023/05/Screenshot-2023-05-30-at-7.15.29-PM.png)
_Pi, Pipedream's little helper. Not affiliated with https://pi.ai/_

Like ChatGPT, he provides (mostly) human-level answers on a range of questions about Pipedream, APIs, and code. He's fun to talk to, he's saving us hours of time a day, and he's providing support to our community that we never could without an artificial assistant.

 ![Build workflows faster with AI](https://pipedream.com/blog/content/images/2023/07/Screenshot-2023-07-26-at-9.04.09-AM.png)

_Pi has access to Pipedream integration data, pricing, product docs, and more_

You can chat with him in [our Slack and Discourse communities](https://pipedream.com/support), and we're planning to embed him directly in [https://pipedream.com](https://pipedream.com) so you can ask him questions as you build workflows.

Please [let us know](https://pipedream.com/support) if you see any bugs, want to suggest a feature, or just want to chat about AI integrations!