ChatGPT AI Adaptor
About ChatGPT
ChatGPT is an AI assistant built by OpenAI. It provides a family of large language models (LLMs) developed for natural language processing tasks such as text generation, summarization, and question answering.
ChatGPT models process text input to generate responses but do not have built-in memory or autonomous decision-making. They can be integrated with external tools or APIs to execute actions beyond text-based outputs.
Use OpenFn + LLMs for AI-Driven Workflows
While LLMs (like Claude or ChatGPT) can generate insights, recommendations, or structured data, they often lack direct execution capabilities—meaning they need an automation system to act on their outputs.
OpenFn workflows fill this gap by orchestrating actions based on LLM-generated responses.
Remember that LLMs are imperfect. Learn more about your recommended approach to AI in our Responsible AI Policy.
Integration Options
Use this adaptor to integrate with the OpenAI Platform API, to integrate ChatGPT AI models into your workflows to leverage their natural language processing (NLP) capabilities.
Example AI-driven workflow on OpenFn:

Using other OpenAI-compatible LLM providers
This adaptor can be configured to use any LLM provider endpoint that implements the OpenAI API specification. With this, responses can be generated by alternative providers, self-hosted gateways, or other inference services.
You may choose to do so for the following reasons:
- to use another LLM provider with a different pricing model
- to use an LLM provider that offers local data residency
- to use a specific provider - for example, routing through a regional service, or self-managed infrastructure
See this adaptor's Configuration docs for technical docs on the parameters required.
Authentication
See this adaptor's Configuration docs for technical docs on the authentication parameters required.
Helpful Links
- About ChatGPT: https://chatgpt.com/
- API docs: https://platform.openai.com/docs/overview
- API Intro: https://www.chatbase.co/blog/chatgpt-api
OpenFn adaptors are open source and we welcome contributions. See the Adaptors Wiki to learn how to update an adaptor, or ask on the OpenFn Community Forum.