How to connect two different GPT's using actions

Is there a way of integrating two or more custom GPT’s ( in the sense that one does a task then does an action to send that response to another GPT to complete another task)? For example I tried to use an action in a GPT that specializes in writing video scripts to then send the script to another GPT that is specialized in editing and SEO. I used a schema like this but was unsuccessful, and suggestions?

{
  "openapi": "3.1.0",
  "info": {
    "title": "Script Writer GPT Communication",
    "description": "API for the Script Writer GPT to send scripts to the Video Script Editor GPT.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "URL of the specific GPT it must send the script to"
    }
  ],
  "paths": {
    "/sendScript": {
      "post": {
        "operationId": "sendScriptToEditor",
        "summary": "Sends a script to the Video Script Editor GPT for editing",
        "requestBody": {
          "description": "Script to be sent for editing",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Edited script received successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EditedScriptData"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ScriptData": {
        "type": "object",
        "properties": {
          "script": {
            "type": "string",
            "description": "The original script text to be edited"
          }
        },
        "required": ["script"]
      },
      "EditedScriptData": {
        "type": "object",
        "properties": {
          "editedScript": {
            "type": "string",
            "description": "The edited script text returned from the editor"
          }
        }
      }
    }
  }
}
1 Like

The spacing of the square brackets was different in the actual scheme but I could only past it as plain text in this post.

1 Like

I edited it for better formatting.

Are you OK with the edit?

I would also like to know the answer to this thread. Did you ever get it to work?

1 Like

This IS interesting. Did anyone resolved this?

1 Like