← 123FormBuilder + OpenAI (ChatGPT) integrations

Create Image with OpenAI (ChatGPT) API on Form Created from 123FormBuilder API

Pipedream makes it easy to connect APIs for OpenAI (ChatGPT), 123FormBuilder and 1200+ other apps remarkably fast.

Trigger workflow on
Form Created from the 123FormBuilder API
Next, do this
Create Image with the OpenAI (ChatGPT) API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a 123FormBuilder trigger and OpenAI (ChatGPT) action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Form Created trigger
    1. Connect your 123FormBuilder account
    2. Configure timer
  3. Configure the Create Image action
    1. Connect your OpenAI (ChatGPT) account
    2. Configure Prompt
    3. Optional- Configure N
    4. Optional- Select a Size
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event for every created form
Version:0.0.2
Key:a123formbuilder-form-created

123FormBuilder Overview

With the 123FormBuilder API, you can build forms and surveys to gather data
from users. You can then use this data to generate reports, or take action
based on the responses. Some examples of what you can build with the
123FormBuilder API include:

  • A form to collect contact information from customers
  • A survey to gather feedback from employees
  • A form to sign up new users for your website or app
  • A form to collect orders from customers
  • A survey to gather data from research participants

Trigger Code

import base from "../common/base.mjs";

export default {
  ...base,
  key: "a123formbuilder-form-created",
  name: "Form Created",
  description: "Emit new event for every created form",
  type: "source",
  version: "0.0.2",
  dedupe: "unique",
  methods: {
    ...base.methods,
    getMeta(form) {
      return {
        id: form.id,
        summary: `New form: ${form.name}`,
        ts: new Date(),
      };
    },
    listingFn() {
      return this.a123formbuilder.getForms;
    },
    listingFnParams() {
      return {};
    },
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
123FormBuildera123formbuilderappThis component uses the 123FormBuilder app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer

Trigger Authentication

123FormBuilder uses OAuth authentication. When you connect your 123FormBuilder account, Pipedream will open a popup window where you can sign into 123FormBuilder and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any 123FormBuilder API.

Pipedream requests the following authorization scopes when you connect your account:

About 123FormBuilder

123 Form Builder is a versatile and innovative form builder used by over 2 million individuals and businesses around the world to automate data collection processes and workflows.

Action

Description:Creates an image given a prompt. returns a URL to the image. [See docs here](https://platform.openai.com/docs/api-reference/images)
Version:0.1.2
Key:openai-create-image

OpenAI (ChatGPT) Overview

The OpenAI API is a powerful tool that provides access to a range of
high-powered machine learning models. With the OpenAI API, developers can
create products, services, and tools that enable humanizing AI experiences, and
build applications that extend the power of human language.

Using the OpenAI API, developers can create language-driven applications such
as:

  • Natural language understanding and sentiment analysis
  • Text-based search
  • Question answering
  • Dialogue systems and conversation agents
  • Intelligent text completion
  • Text summarization
  • Text classification
  • Machine translation
  • Language generation
  • Multi-factor authentication
  • Anomaly detection
  • Text analysis

Action Code

import openai from "../../app/openai.app.mjs";
import constants from "../common/constants.mjs";

export default {
  name: "Create Image",
  version: "0.1.2",
  key: "openai-create-image",
  description: "Creates an image given a prompt. returns a URL to the image. [See docs here](https://platform.openai.com/docs/api-reference/images)",
  type: "action",
  props: {
    openai,
    prompt: {
      label: "Prompt",
      description: "A text description of the desired image(s). The maximum length is 1000 characters.",
      type: "string",
    },
    n: {
      label: "N",
      description: "The number of images to generate. Must be between 1 and 10.",
      type: "integer",
      optional: true,
      default: 1,
    },
    size: {
      label: "Size",
      description: "The size of the generated images.",
      type: "string",
      optional: true,
      options: constants.IMAGE_SIZES,
      default: "1024x1024",
    },
  },
  async run({ $ }) {
    const response = await this.openai.createImage({
      $,
      args: {
        prompt: this.prompt,
        n: this.n,
        size: this.size,
        response_format: this.responseFormat,
      },
    });

    if (response.data.length) {
      $.export("$summary", `Successfully created ${response.data.length} images`);
    }

    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
OpenAI (ChatGPT)openaiappThis component uses the OpenAI (ChatGPT) app.
Promptpromptstring

A text description of the desired image(s). The maximum length is 1000 characters.

Nninteger

The number of images to generate. Must be between 1 and 10.

SizesizestringSelect a value from the drop down menu:256x256512x5121024x1024

Action Authentication

OpenAI (ChatGPT) uses API keys for authentication. When you connect your OpenAI (ChatGPT) account, Pipedream securely stores the keys so you can easily authenticate to OpenAI (ChatGPT) APIs in both code and no-code steps.

Create a new API key and enter it below.

About OpenAI (ChatGPT)

OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.

More Ways to Connect OpenAI (ChatGPT) + 123FormBuilder

Send Prompt with OpenAI API on Form Created from 123FormBuilder API
123FormBuilder + OpenAI (ChatGPT)
 
Try it
Create Image with OpenAI API on Form Response Submitted from 123FormBuilder API
123FormBuilder + OpenAI (ChatGPT)
 
Try it
Send Prompt with OpenAI API on Form Response Submitted from 123FormBuilder API
123FormBuilder + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on Form Created from 123FormBuilder API
123FormBuilder + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on Form Response Submitted from 123FormBuilder API
123FormBuilder + OpenAI (ChatGPT)
 
Try it
Form Created from the 123FormBuilder API

Emit new event for every created form

 
Try it
Form Response Submitted from the 123FormBuilder API

Emit new event for every submitted form response

 
Try it
Chat with the OpenAI (ChatGPT) API

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See docs here

 
Try it
Summarize Text with the OpenAI (ChatGPT) API

Summarizes text using the Chat API

 
Try it
Classify Items into Categories with the OpenAI (ChatGPT) API

Classify items into specific categories using the Chat API

 
Try it
Translate Text with the OpenAI (ChatGPT) API

Translate text from one language to another using the Chat API

 
Try it
Create Transcription with the OpenAI (ChatGPT) API

Transcribes audio into the input language. See docs here.

 
Try it

Explore Other Apps

1
-
12
of
1200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.