Apps/OpenAI ChatGPT/Send Prompt for JSON response
OpenAI ChatGPT
OpenAI ChatGPT Action

Send Prompt for JSON response

Sends a prompt to GPT and generate a completion returning a response message in JSON format.

200+ apps to connect·Tested & maintained tasks·Human support in English & Spanish

In detail

What it does and what it's for

This integration allows you to send a prompt to GPT and receive a response in JSON format, facilitating the automation of tasks that require natural language processing.

By using this function, you will obtain structured data such as the JSON response, the finish reason, and token count, thereby optimizing your workflows.

How it works

How it fits in an automated task

A Botize task pairs a trigger with one or more actions. This piece is one of them.

Pick a trigger

The event that starts the task, from this app or any other.

This action runs

Botize performs it automatically using the data the trigger delivers.

Turn it on and forget it

The task runs on its own from then on. If something's off, tweak it or we'll help you.

Already using Botize?

Connect your OpenAI ChatGPT

Add a profile to use it in your tasks. There's a step-by-step guide if you need it.

Add a new profile Step-by-step guide

Your profiles

Your connected OpenAI ChatGPT accounts

These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.

Setup

Customization options

Fields you can adjust when using it in your automation.

Rules (Enable/Disable)
Filters (Apply only if enabled above)
System message
New user message
Model
Temperature
Max Tokens to use
Remove leading and trailing quotation marks from the response
Customize output tags
Rename output variables

Output data

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • JSON Response {{json_response}}

    Predicted completion in JSON format.
    e.g. {"winner":"Los Angeles Dodgers"}

  • Finish reason {{finish_reason}}

    reason why the resulting text has terminated.
    e.g. lenght

  • Prompt tokens {{prompt_tokens}}

    Number of tokens in the Prompt. 1 token ~= 4 chars in English

  • Completion tokens {{completion_tokens}}

    Number of tokens in the Completion. 1 token ~= 4 chars in English

  • Total tokens {{total_tokens}}

    Prompt tokens + Completion tokens

Learn by watching

Video tutorials

Short videos where you watch a real task being built from start to finish.

Need a hand?

Real people behind it

Email us

info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Message us on Telegram

t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Come with an idea.
Leave with an automation.

Create your first task in minutes. Do it once and forget about it forever.

Start automating