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
I've noticed a problem with this Adaptor, or something is out of date, what can I do?
Thanks for asking! We are a fully Open Source Digital Public Good, and we welcome contributions from our community. Check out our Adaptors Wiki for more information on how you can update Adaptors!
Or, you can always reach out to the Community through our Community Forum here.