Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSON export for ChatGPT interaction

Joshua Hori November 14, 2023

I'm attempting to export a Trello JSON file to integrate into a GPT, but when importing to GPT, I get the following error:

Could not find a valid URL in 'servers'

When I perform a search & find for "servers", I can't locate it in the JSON file.  

Has anyone else been able to import their Trello JSON file into GPT? How did you get it to work?

3 answers

1 vote
Brian Zawisza
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2023

You can configure an action on https://chat.openai.com/gpts/editor by going to configure > add actions. Make sure to fill out the authentication section.

Here's an example schema that seems to work for me. You can copy other paths/components from https://dac-static.atlassian.com/cloud/trello/swagger.v3.json . I can't paste the entire schema since it's too large. 

You can test it out with the prompt: "call the api.trello.com API with the get-boards-id operation on board id "one of your board ids".

https://chat.openai.com/gpts/editor/g-AOWJa85mF

{
"openapi": "3.1.0",
"info": {
"title": "Get trello data",
"description": "Retrieves trello data",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.trello.com/1"
}
],
"paths": {
"/boards/{id}": {
// copy the "/boards/{id}" / specific paths section from our swagger documentation:
// note: you'll want to delete the top-level "parameter" section and add it to each individual request method like "get", "put", etc.
"get": {
"tags": [],
"summary": "Get a Board",
"description": "Request a single board.",
"operationId": "get-boards-id",
"parameters": [
// this "id" parameter wasn't original in the "get" section.
{
"name": "id",
"in": "path",
"description": "",
"required": true,
"schema": {
"$ref": "#/components/schemas/TrelloID"
}
},
{
"name": "actions",
...
}
},
}
},
"components": {
// copy the "components" section from our swagger documentation: https://dac-static.atlassian.com/cloud/trello/swagger.v3.json?_v=1.524.0
}
}
Joshua Hori November 16, 2023

Thanks for this suggestion! I'll give it a try and report back!

Like Gaurav Kataria likes this
0 votes
Kathlyn March 19, 2024

How does exporting ChatGPT interactions to JSON format benefit users or developers?

Joshua Hori March 19, 2024

You've got it backwards. I'm exporting Trello JSON to import into and create a GPT. Very beneficial to developers, not users. 

0 votes
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2023

Hi @Joshua Hori 

 

May I ask what your aim is here?
I am wondering whether you would be better connecting Trello to GPT with make.com or Zapier?!

Joshua Hori November 15, 2023

I have a list of suggested tools with labels connected that indicated what operating systems the tools work on, with descriptions, web links, and videos demos of the tools. I'm wanting to build a GPT that sifts through my lists and provides suggestions based on a number of questions asked. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events