{
  "code": "OK",
  "response": {
    "blueprint": {
      "flow": [
        {
          "id": 1,
          "mapper": {},
          "module": "gateway:CustomWebHook",
          "version": 1,
          "metadata": {
            "designer": {
              "x": 0,
              "y": 150
            }
          },
          "parameters": {
            "hook": 1717552,
            "maxResults": 1
          }
        },
        {
          "id": 2,
          "mapper": {
            "scope": "roundtrip",
            "variables": [
              {
                "name": "sender_id",
                "value": "{{1.entry[].messaging[].sender.id}}"
              },
              {
                "name": "message_text",
                "value": "{{1.entry[].messaging[].message.text}}"
              },
              {
                "name": "ig_account_id",
                "value": "{{1.entry[].id}}"
              },
              {
                "name": "is_echo",
                "value": "{{1.entry[].messaging[].message.is_echo}}"
              }
            ]
          },
          "module": "util:SetVariables",
          "version": 1,
          "metadata": {
            "designer": {
              "x": 300,
              "y": 150
            }
          },
          "parameters": {}
        },
        {
          "id": 3,
          "filter": {
            "name": "Customer Messages Only",
            "conditions": [
              [
                {
                  "a": "{{2.message_text}}",
                  "b": "",
                  "o": "text:notequal"
                },
                {
                  "a": "{{2.sender_id}}",
                  "b": "{{2.ig_account_id}}",
                  "o": "text:notequal"
                }
              ]
            ]
          },
          "mapper": {
            "from": "drive",
            "limit": "1",
            "sheetId": "Sheet1",
            "sortOrder": "desc",
            "spreadsheetId": "1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI",
            "tableFirstRow": "A1:L1",
            "includesHeaders": true,
            "valueRenderOption": "FORMATTED_VALUE",
            "dateTimeRenderOption": "FORMATTED_STRING"
          },
          "module": "google-sheets:filterRows",
          "version": 2,
          "metadata": {
            "designer": {
              "x": 600,
              "y": 150
            }
          },
          "parameters": {
            "__IMTCONN__": 5312076
          }
        },
        {
          "id": 4,
          "mapper": null,
          "module": "builtin:BasicRouter",
          "routes": [
            {
              "flow": [
                {
                  "id": 5,
                  "filter": {
                    "name": "New Lead",
                    "conditions": [
                      [
                        {
                          "a": "{{3.__IMTLENGTH__}}",
                          "b": "0",
                          "o": "number:equal"
                        }
                      ]
                    ]
                  },
                  "mapper": {
                    "from": "drive",
                    "mode": "select",
                    "values": {
                      "0": "{{2.sender_id}}",
                      "2": "instagram",
                      "3": "{{2.message_text}}",
                      "4": "{{now}}",
                      "5": "new_lead",
                      "6": "[]",
                      "7": "5",
                      "8": "1"
                    },
                    "sheetId": "Sheet1",
                    "spreadsheetId": "/1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI",
                    "includesHeaders": true,
                    "insertDataOption": "INSERT_ROWS",
                    "valueInputOption": "USER_ENTERED",
                    "insertUnformatted": false
                  },
                  "module": "google-sheets:addRow",
                  "version": 2,
                  "metadata": {
                    "expect": [
                      {
                        "name": "mode",
                        "type": "select",
                        "label": "Search Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "select",
                            "fromAll",
                            "map"
                          ]
                        }
                      },
                      {
                        "name": "insertUnformatted",
                        "type": "boolean",
                        "label": "Unformatted",
                        "required": true
                      },
                      {
                        "name": "valueInputOption",
                        "type": "select",
                        "label": "Value input option",
                        "validate": {
                          "enum": [
                            "USER_ENTERED",
                            "RAW"
                          ]
                        }
                      },
                      {
                        "name": "insertDataOption",
                        "type": "select",
                        "label": "Insert data option",
                        "validate": {
                          "enum": [
                            "INSERT_ROWS",
                            "OVERWRITE"
                          ]
                        }
                      },
                      {
                        "name": "from",
                        "type": "select",
                        "label": "Drive",
                        "required": true,
                        "validate": {
                          "enum": [
                            "drive",
                            "share",
                            "team"
                          ]
                        }
                      },
                      {
                        "name": "spreadsheetId",
                        "type": "file",
                        "label": "Spreadsheet ID",
                        "required": true
                      },
                      {
                        "name": "sheetId",
                        "type": "select",
                        "label": "Sheet Name",
                        "required": true
                      },
                      {
                        "name": "includesHeaders",
                        "type": "select",
                        "label": "Table contains headers",
                        "required": true,
                        "validate": {
                          "enum": [
                            true,
                            false
                          ]
                        }
                      },
                      {
                        "name": "values",
                        "spec": [
                          {
                            "name": "0",
                            "type": "text",
                            "label": "user_id (A)"
                          },
                          {
                            "name": "1",
                            "type": "text",
                            "label": "name (B)"
                          },
                          {
                            "name": "2",
                            "type": "text",
                            "label": "platform (C)"
                          },
                          {
                            "name": "3",
                            "type": "text",
                            "label": "first_message (D)"
                          },
                          {
                            "name": "4",
                            "type": "text",
                            "label": "last_message_date (E)"
                          },
                          {
                            "name": "5",
                            "type": "text",
                            "label": "status (F)"
                          },
                          {
                            "name": "6",
                            "type": "text",
                            "label": "conversation_history (G)"
                          },
                          {
                            "name": "7",
                            "type": "text",
                            "label": "lead_score (H)"
                          },
                          {
                            "name": "8",
                            "type": "text",
                            "label": "message_count (I)"
                          },
                          {
                            "name": "9",
                            "type": "text",
                            "label": "(J)"
                          },
                          {
                            "name": "10",
                            "type": "text",
                            "label": "(K)"
                          },
                          {
                            "name": "11",
                            "type": "text",
                            "label": "(L)"
                          },
                          {
                            "name": "12",
                            "type": "text",
                            "label": "(M)"
                          },
                          {
                            "name": "13",
                            "type": "text",
                            "label": "(N)"
                          },
                          {
                            "name": "14",
                            "type": "text",
                            "label": "(O)"
                          },
                          {
                            "name": "15",
                            "type": "text",
                            "label": "(P)"
                          },
                          {
                            "name": "16",
                            "type": "text",
                            "label": "(Q)"
                          },
                          {
                            "name": "17",
                            "type": "text",
                            "label": "(R)"
                          },
                          {
                            "name": "18",
                            "type": "text",
                            "label": "(S)"
                          },
                          {
                            "name": "19",
                            "type": "text",
                            "label": "(T)"
                          },
                          {
                            "name": "20",
                            "type": "text",
                            "label": "(U)"
                          },
                          {
                            "name": "21",
                            "type": "text",
                            "label": "(V)"
                          },
                          {
                            "name": "22",
                            "type": "text",
                            "label": "(W)"
                          },
                          {
                            "name": "23",
                            "type": "text",
                            "label": "(X)"
                          },
                          {
                            "name": "24",
                            "type": "text",
                            "label": "(Y)"
                          },
                          {
                            "name": "25",
                            "type": "text",
                            "label": "(Z)"
                          }
                        ],
                        "type": "collection",
                        "label": "Values"
                      }
                    ],
                    "restore": {
                      "expect": {
                        "from": {
                          "label": "My Drive"
                        },
                        "mode": {
                          "label": "Search by path"
                        },
                        "sheetId": {
                          "label": "Sheet1"
                        },
                        "spreadsheetId": {
                          "path": [
                            "1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI"
                          ]
                        },
                        "includesHeaders": {
                          "label": "Yes",
                          "nested": [
                            {
                              "name": "values",
                              "spec": [
                                {
                                  "name": "0",
                                  "type": "text",
                                  "label": "user_id (A)"
                                },
                                {
                                  "name": "1",
                                  "type": "text",
                                  "label": "name (B)"
                                },
                                {
                                  "name": "2",
                                  "type": "text",
                                  "label": "platform (C)"
                                },
                                {
                                  "name": "3",
                                  "type": "text",
                                  "label": "first_message (D)"
                                },
                                {
                                  "name": "4",
                                  "type": "text",
                                  "label": "last_message_date (E)"
                                },
                                {
                                  "name": "5",
                                  "type": "text",
                                  "label": "status (F)"
                                },
                                {
                                  "name": "6",
                                  "type": "text",
                                  "label": "conversation_history (G)"
                                },
                                {
                                  "name": "7",
                                  "type": "text",
                                  "label": "lead_score (H)"
                                },
                                {
                                  "name": "8",
                                  "type": "text",
                                  "label": "message_count (I)"
                                },
                                {
                                  "name": "9",
                                  "type": "text",
                                  "label": "(J)"
                                },
                                {
                                  "name": "10",
                                  "type": "text",
                                  "label": "(K)"
                                },
                                {
                                  "name": "11",
                                  "type": "text",
                                  "label": "(L)"
                                },
                                {
                                  "name": "12",
                                  "type": "text",
                                  "label": "(M)"
                                },
                                {
                                  "name": "13",
                                  "type": "text",
                                  "label": "(N)"
                                },
                                {
                                  "name": "14",
                                  "type": "text",
                                  "label": "(O)"
                                },
                                {
                                  "name": "15",
                                  "type": "text",
                                  "label": "(P)"
                                },
                                {
                                  "name": "16",
                                  "type": "text",
                                  "label": "(Q)"
                                },
                                {
                                  "name": "17",
                                  "type": "text",
                                  "label": "(R)"
                                },
                                {
                                  "name": "18",
                                  "type": "text",
                                  "label": "(S)"
                                },
                                {
                                  "name": "19",
                                  "type": "text",
                                  "label": "(T)"
                                },
                                {
                                  "name": "20",
                                  "type": "text",
                                  "label": "(U)"
                                },
                                {
                                  "name": "21",
                                  "type": "text",
                                  "label": "(V)"
                                },
                                {
                                  "name": "22",
                                  "type": "text",
                                  "label": "(W)"
                                },
                                {
                                  "name": "23",
                                  "type": "text",
                                  "label": "(X)"
                                },
                                {
                                  "name": "24",
                                  "type": "text",
                                  "label": "(Y)"
                                },
                                {
                                  "name": "25",
                                  "type": "text",
                                  "label": "(Z)"
                                }
                              ],
                              "type": "collection",
                              "label": "Values"
                            }
                          ]
                        },
                        "insertDataOption": {
                          "mode": "chose",
                          "label": "Insert rows"
                        },
                        "valueInputOption": {
                          "mode": "chose",
                          "label": "User entered"
                        },
                        "insertUnformatted": {
                          "mode": "chose"
                        }
                      },
                      "parameters": {
                        "__IMTCONN__": {
                          "data": {
                            "scoped": "true",
                            "connection": "google"
                          },
                          "label": "My Google connection (abdullahlinkrypt@gmail.com)"
                        }
                      }
                    },
                    "designer": {
                      "x": 1200,
                      "y": 0
                    },
                    "parameters": [
                      {
                        "name": "__IMTCONN__",
                        "type": "account:google",
                        "label": "Connection",
                        "required": true
                      }
                    ]
                  },
                  "parameters": {
                    "__IMTCONN__": 5312076
                  }
                },
                {
                  "id": 6,
                  "mapper": {
                    "model": "gpt-4o-mini",
                    "top_p": "1",
                    "select": "chat",
                    "messages": [
                      {
                        "role": "system",
                        "content": "You are Alex from Antigravity, an AI agency. Style: Alex Hormozi (direct, confident). Platform: Instagram DM. Keep under 280 chars, casual, 1 emoji max, end with question. Services: AI Automation, Meta Ads, Branding. If they ask price/cost, say: Love the energy! Let me get a strategist to reach out within 24h. Best time to catch you?"
                      },
                      {
                        "role": "user",
                        "content": "New contact. Message: {{2.message_text}} - Respond as Alex.",
                        "imageDetail": "auto"
                      }
                    ],
                    "max_tokens": "1000",
                    "temperature": "0.75",
                    "n_completions": "1",
                    "response_format": "text"
                  },
                  "module": "openai-gpt-3:CreateCompletion",
                  "version": 1,
                  "metadata": {
                    "expect": [
                      {
                        "name": "select",
                        "type": "select",
                        "label": "Select Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "chat",
                            "prompt"
                          ]
                        }
                      },
                      {
                        "name": "temperature",
                        "type": "number",
                        "label": "Temperature",
                        "validate": {
                          "max": 2,
                          "min": 0
                        }
                      },
                      {
                        "name": "top_p",
                        "type": "number",
                        "label": "Top P",
                        "validate": {
                          "max": 1,
                          "min": 0
                        }
                      },
                      {
                        "name": "n_completions",
                        "type": "number",
                        "label": "Number"
                      },
                      {
                        "name": "frequency_penalty",
                        "type": "number",
                        "label": "Frequency Penalty",
                        "validate": {
                          "max": 2,
                          "min": -2
                        }
                      },
                      {
                        "name": "presence_penalty",
                        "type": "number",
                        "label": "Presence Penalty",
                        "validate": {
                          "max": 2,
                          "min": -2
                        }
                      },
                      {
                        "name": "logit_bias",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "token",
                              "type": "text",
                              "label": "Token ID",
                              "required": true
                            },
                            {
                              "name": "probability",
                              "type": "number",
                              "label": "Probability",
                              "required": true,
                              "validate": {
                                "max": 100,
                                "min": -100
                              }
                            }
                          ],
                          "type": "collection",
                          "label": "Token Probability"
                        },
                        "type": "array",
                        "label": "Token Probability"
                      },
                      {
                        "name": "seed",
                        "type": "integer",
                        "label": "Seed"
                      },
                      {
                        "name": "tool_choice",
                        "type": "select",
                        "label": "Tool Choice",
                        "validate": {
                          "enum": [
                            "none",
                            "auto",
                            "required"
                          ]
                        }
                      },
                      {
                        "name": "stop",
                        "spec": {
                          "name": "value",
                          "type": "text",
                          "label": "Stop Sequence"
                        },
                        "type": "array",
                        "label": "Stop Sequences",
                        "validate": {
                          "maxItems": 4
                        }
                      },
                      {
                        "name": "additionalParameters",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "key",
                              "type": "text",
                              "label": "Parameter Name",
                              "required": true
                            },
                            {
                              "name": "type",
                              "type": "select",
                              "label": "Input Type",
                              "options": [
                                {
                                  "label": "Text",
                                  "value": "text",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "text",
                                      "label": "Parameter Value"
                                    }
                                  ],
                                  "default": true
                                },
                                {
                                  "label": "Number",
                                  "value": "number",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "number",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Boolean",
                                  "value": "boolean",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "boolean",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Date",
                                  "value": "date",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "date",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Any",
                                  "value": "any",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "any",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                }
                              ]
                            }
                          ],
                          "type": "collection",
                          "label": "Input Parameter"
                        },
                        "type": "array",
                        "label": "Other Input Parameters"
                      },
                      {
                        "name": "model",
                        "type": "select",
                        "label": "Model",
                        "required": true
                      },
                      {
                        "name": "max_tokens",
                        "type": "uinteger",
                        "label": "Max Output Tokens"
                      },
                      {
                        "name": "messages",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "role",
                              "type": "select",
                              "label": "Role",
                              "options": {
                                "store": [
                                  {
                                    "label": "User",
                                    "value": "user",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      },
                                      {
                                        "name": "imageInputType",
                                        "type": "select",
                                        "label": "Image Input Type",
                                        "options": [
                                          {
                                            "label": "URL",
                                            "value": "url",
                                            "nested": [
                                              {
                                                "help": "Make sure to use a publicly accessible URL.\nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
                                                "name": "imageUrl",
                                                "type": "url",
                                                "label": "Image URL"
                                              }
                                            ]
                                          },
                                          {
                                            "label": "Image File",
                                            "value": "file",
                                            "nested": [
                                              {
                                                "name": "imageFile",
                                                "spec": [
                                                  {
                                                    "help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
                                                    "name": "imageFilename",
                                                    "type": "filename",
                                                    "label": "Image Filename",
                                                    "semantic": "file:name",
                                                    "extension": [
                                                      "jpg",
                                                      "jpeg",
                                                      "png",
                                                      "webp",
                                                      "gif"
                                                    ]
                                                  },
                                                  {
                                                    "name": "imageData",
                                                    "type": "buffer",
                                                    "label": "Image Data",
                                                    "semantic": "file:data"
                                                  }
                                                ],
                                                "type": "collection",
                                                "label": "Image"
                                              }
                                            ]
                                          }
                                        ],
                                        "mappable": false
                                      },
                                      {
                                        "help": "Recommended value: `Auto`",
                                        "name": "imageDetail",
                                        "type": "select",
                                        "label": "Image Detail",
                                        "options": [
                                          {
                                            "label": "Auto",
                                            "value": "auto",
                                            "default": true
                                          },
                                          {
                                            "label": "High",
                                            "value": "high"
                                          },
                                          {
                                            "label": "Low",
                                            "value": "low"
                                          }
                                        ]
                                      }
                                    ],
                                    "default": true
                                  },
                                  {
                                    "label": "Assistant",
                                    "value": "assistant",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      },
                                      {
                                        "mode": "edit",
                                        "name": "tool_calls",
                                        "spec": {
                                          "spec": [
                                            {
                                              "name": "type",
                                              "type": "hidden",
                                              "default": "function"
                                            },
                                            {
                                              "help": "Map this directly from the output of a previous **Create a Completion** module. Look for `Choices[]: Message.Tool Calls[]: ID`.",
                                              "name": "id",
                                              "type": "text",
                                              "label": "Tool call ID"
                                            },
                                            {
                                              "name": "function",
                                              "spec": [
                                                {
                                                  "help": "The name of the function previously called.",
                                                  "name": "name",
                                                  "type": "text",
                                                  "label": "Name",
                                                  "required": true
                                                },
                                                {
                                                  "help": "The arguments previously output by the AI.",
                                                  "name": "arguments",
                                                  "type": "text",
                                                  "label": "Arguments",
                                                  "required": true
                                                }
                                              ],
                                              "type": "collection",
                                              "label": "Function"
                                            }
                                          ],
                                          "type": "collection",
                                          "label": "Tool Call"
                                        },
                                        "type": "array",
                                        "label": "Tool Calls",
                                        "labels": {
                                          "add": "Add tool call"
                                        },
                                        "mappable": {
                                          "help": "You can map the entire `Choices[]: Message.Tool Calls` array from a previous Create a Completion module here."
                                        }
                                      }
                                    ]
                                  },
                                  {
                                    "label": "Developer / System",
                                    "value": "system",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      }
                                    ]
                                  },
                                  {
                                    "label": "Tool",
                                    "value": "tool",
                                    "nested": [
                                      {
                                        "help": "The return of the function. This role should only be used when you have processed a previous function call and want to send the output of the function execution back to the AI.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content",
                                        "required": true
                                      },
                                      {
                                        "help": "Map this directly from the output of a previous **Create a Completion** module. Look for `Choices[]: Message.Tool Calls[]: ID`.",
                                        "name": "tool_call_id",
                                        "type": "text",
                                        "label": "Tool Call ID.",
                                        "required": true
                                      }
                                    ]
                                  }
                                ]
                              },
                              "required": true
                            }
                          ],
                          "type": "collection",
                          "label": "Message"
                        },
                        "type": "array",
                        "label": "Messages",
                        "required": true
                      },
                      {
                        "name": "response_format",
                        "type": "select",
                        "label": "Response Format",
                        "validate": {
                          "enum": [
                            "text",
                            "json_object"
                          ]
                        }
                      },
                      {
                        "name": "prediction",
                        "type": "text",
                        "label": "Predicted Outputs"
                      }
                    ],
                    "restore": {
                      "expect": {
                        "stop": {
                          "mode": "chose"
                        },
                        "model": {
                          "mode": "chose",
                          "label": "gpt-4o-mini (system)Fast, affordable small model for focused tasks"
                        },
                        "select": {
                          "label": "Create a Chat Completion (GPT and o1 models)"
                        },
                        "messages": {
                          "mode": "chose",
                          "items": [
                            {
                              "role": {
                                "mode": "chose",
                                "label": "Developer / System"
                              }
                            },
                            {
                              "role": {
                                "mode": "chose",
                                "label": "User"
                              },
                              "imageDetail": {
                                "mode": "chose",
                                "label": "Auto"
                              },
                              "imageInputType": {
                                "mode": "chose",
                                "label": "Empty"
                              }
                            }
                          ]
                        },
                        "logit_bias": {
                          "mode": "chose"
                        },
                        "tool_choice": {
                          "mode": "chose",
                          "label": "Empty"
                        },
                        "response_format": {
                          "mode": "chose",
                          "label": "Text"
                        },
                        "additionalParameters": {
                          "mode": "chose"
                        }
                      },
                      "parameters": {
                        "__IMTCONN__": {
                          "data": {
                            "scoped": "true",
                            "connection": "openai-gpt-3"
                          },
                          "label": "My OpenAI connection"
                        }
                      }
                    },
                    "designer": {
                      "x": 1500,
                      "y": 0
                    },
                    "interface": [
                      {
                        "name": "result",
                        "type": "any",
                        "label": "Result"
                      },
                      {
                        "name": "id",
                        "type": "text",
                        "label": "ID"
                      },
                      {
                        "name": "object",
                        "type": "text",
                        "label": "Object"
                      },
                      {
                        "name": "created",
                        "type": "date",
                        "label": "Created"
                      },
                      {
                        "name": "model",
                        "type": "text",
                        "label": "Model"
                      },
                      {
                        "name": "choices",
                        "spec": [
                          {
                            "name": "text",
                            "type": "text",
                            "label": "Text"
                          },
                          {
                            "name": "index",
                            "type": "number",
                            "label": "Index"
                          },
                          {
                            "name": "logprobs",
                            "type": "text",
                            "label": "Log Probs"
                          },
                          {
                            "name": "finish_reason",
                            "type": "text",
                            "label": "Finish Reason"
                          },
                          {
                            "name": "message",
                            "spec": [
                              {
                                "name": "role",
                                "type": "text",
                                "label": "Role"
                              },
                              {
                                "name": "content",
                                "type": "text",
                                "label": "Content"
                              },
                              {
                                "name": "tool_calls",
                                "spec": [
                                  {
                                    "name": "id",
                                    "type": "text",
                                    "label": "ID"
                                  },
                                  {
                                    "name": "type",
                                    "type": "text",
                                    "label": "Type"
                                  },
                                  {
                                    "name": "function",
                                    "spec": [
                                      {
                                        "name": "name",
                                        "type": "text",
                                        "label": "Name"
                                      },
                                      {
                                        "name": "arguments",
                                        "type": "text",
                                        "label": "Arguments"
                                      }
                                    ],
                                    "type": "collection",
                                    "label": "Function"
                                  }
                                ],
                                "type": "array",
                                "label": "Tool Calls"
                              },
                              {
                                "name": "refusal",
                                "type": "text",
                                "label": "Refusal"
                              },
                              {
                                "name": "annotations",
                                "spec": [
                                  {
                                    "name": "type",
                                    "type": "text",
                                    "label": "Type"
                                  },
                                  {
                                    "name": "url_citation",
                                    "spec": [
                                      {
                                        "name": "end_index",
                                        "type": "number",
                                        "label": "End Index"
                                      },
                                      {
                                        "name": "start_index",
                                        "type": "number",
                                        "label": "Start Index"
                                      },
                                      {
                                        "name": "title",
                                        "type": "text",
                                        "label": "Title"
                                      },
                                      {
                                        "name": "url",
                                        "type": "text",
                                        "label": "URL"
                                      }
                                    ],
                                    "type": "collection",
                                    "label": "URL Citation"
                                  }
                                ],
                                "type": "array",
                                "label": "Annotations"
                              }
                            ],
                            "type": "collection",
                            "label": "Message"
                          }
                        ],
                        "type": "array",
                        "label": "Choices"
                      },
                      {
                        "name": "usage",
                        "spec": [
                          {
                            "name": "prompt_tokens",
                            "type": "number",
                            "label": "Prompt Tokens"
                          },
                          {
                            "name": "completion_tokens",
                            "type": "text",
                            "label": "Completion Tokens"
                          },
                          {
                            "name": "total_tokens",
                            "type": "number",
                            "label": "Total Tokens"
                          },
                          {
                            "name": "prompt_tokens_details",
                            "spec": [
                              {
                                "name": "cached_tokens",
                                "type": "uinteger",
                                "label": "Cached Tokens"
                              },
                              {
                                "name": "text_tokens",
                                "type": "uinteger",
                                "label": "Text Tokens"
                              },
                              {
                                "name": "image_tokens",
                                "type": "uinteger",
                                "label": "Image Tokens"
                              },
                              {
                                "name": "audio_tokens",
                                "type": "uinteger",
                                "label": "Audio Tokens"
                              }
                            ],
                            "type": "collection",
                            "label": "Prompt Tokens Details"
                          },
                          {
                            "name": "completion_tokens_details",
                            "spec": [
                              {
                                "name": "reasoning_tokens",
                                "type": "uinteger",
                                "label": "Reasoning Tokens"
                              },
                              {
                                "name": "text_tokens",
                                "type": "uinteger",
                                "label": "Text Tokens"
                              },
                              {
                                "name": "audio_tokens",
                                "type": "uinteger",
                                "label": "Audio Tokens"
                              },
                              {
                                "name": "accepted_prediction_tokens",
                                "type": "uinteger",
                                "label": "Accepted Prediction Tokens"
                              },
                              {
                                "name": "rejected_prediction_tokens",
                                "type": "uinteger",
                                "label": "Rejected Prediction Tokens"
                              }
                            ],
                            "type": "collection",
                            "label": "Completion Tokens Details"
                          }
                        ],
                        "type": "collection",
                        "label": "Usage"
                      },
                      {
                        "name": "service_tier",
                        "type": "text",
                        "label": "Service Tier"
                      },
                      {
                        "name": "system_fingerprint",
                        "type": "text",
                        "label": "System Fingerprint"
                      }
                    ],
                    "parameters": [
                      {
                        "name": "__IMTCONN__",
                        "type": "account:openai-gpt-3",
                        "label": "Connection",
                        "required": true
                      }
                    ]
                  },
                  "parameters": {
                    "__IMTCONN__": 3029843
                  }
                },
                {
                  "id": 7,
                  "mapper": {
                    "ca": "",
                    "qs": [],
                    "url": "https://graph.instagram.com/v23.0/me/messages",
                    "data": "{\r\n  \"recipient\": {\r\n    \"id\": \"{{1.entry[].messaging[].sender.id}}\"\r\n  },\r\n  \"message\": {\r\n    \"text\": \"{{6.result}}\"\r\n  }\r\n}",
                    "gzip": true,
                    "method": "post",
                    "headers": [
                      {
                        "name": "Authorization",
                        "value": "Bearer IGAAXtZAhck6ZB1BZAGFhTDhwSXc2TUNpejU4YkFFSWVvMnZALT1hMRWtrQUpLclhhelZABREdJUDZACNjRJR3BzVDZAOMDR2SVl5MDNXcHZA0SjNZASkdEdVVoUzFFVzBsWndtRXFEcHFSdnNIZA2QyZA0ZAqNnV6VXBQSWdFb1JvbHNIUXdDRQZDZD"
                      },
                      {
                        "name": "Content-Type",
                        "value": "application/json"
                      }
                    ],
                    "timeout": "",
                    "useMtls": false,
                    "authPass": "",
                    "authUser": "",
                    "bodyType": "raw",
                    "contentType": "application/json",
                    "serializeUrl": false,
                    "shareCookies": false,
                    "parseResponse": false,
                    "followRedirect": true,
                    "useQuerystring": false,
                    "followAllRedirects": false,
                    "rejectUnauthorized": true
                  },
                  "module": "http:ActionSendData",
                  "version": 3,
                  "metadata": {
                    "expect": [
                      {
                        "name": "url",
                        "type": "url",
                        "label": "URL",
                        "required": true
                      },
                      {
                        "name": "serializeUrl",
                        "type": "boolean",
                        "label": "Serialize URL",
                        "required": true
                      },
                      {
                        "name": "method",
                        "type": "select",
                        "label": "Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "get",
                            "head",
                            "post",
                            "put",
                            "patch",
                            "delete",
                            "options"
                          ]
                        }
                      },
                      {
                        "name": "headers",
                        "spec": [
                          {
                            "name": "name",
                            "type": "text",
                            "label": "Name",
                            "required": true
                          },
                          {
                            "name": "value",
                            "type": "text",
                            "label": "Value"
                          }
                        ],
                        "type": "array",
                        "label": "Headers"
                      },
                      {
                        "name": "qs",
                        "spec": [
                          {
                            "name": "name",
                            "type": "text",
                            "label": "Name",
                            "required": true
                          },
                          {
                            "name": "value",
                            "type": "text",
                            "label": "Value"
                          }
                        ],
                        "type": "array",
                        "label": "Query String"
                      },
                      {
                        "name": "bodyType",
                        "type": "select",
                        "label": "Body type",
                        "validate": {
                          "enum": [
                            "raw",
                            "x_www_form_urlencoded",
                            "multipart_form_data"
                          ]
                        }
                      },
                      {
                        "name": "parseResponse",
                        "type": "boolean",
                        "label": "Parse response",
                        "required": true
                      },
                      {
                        "name": "authUser",
                        "type": "text",
                        "label": "User name"
                      },
                      {
                        "name": "authPass",
                        "type": "password",
                        "label": "Password"
                      },
                      {
                        "name": "timeout",
                        "type": "uinteger",
                        "label": "Timeout",
                        "validate": {
                          "max": 300,
                          "min": 1
                        }
                      },
                      {
                        "name": "shareCookies",
                        "type": "boolean",
                        "label": "Share cookies with other HTTP modules",
                        "required": true
                      },
                      {
                        "name": "ca",
                        "type": "cert",
                        "label": "Self-signed certificate"
                      },
                      {
                        "name": "rejectUnauthorized",
                        "type": "boolean",
                        "label": "Reject connections that are using unverified (self-signed) certificates",
                        "required": true
                      },
                      {
                        "name": "followRedirect",
                        "type": "boolean",
                        "label": "Follow redirect",
                        "required": true
                      },
                      {
                        "name": "useQuerystring",
                        "type": "boolean",
                        "label": "Disable serialization of multiple same query string keys as arrays",
                        "required": true
                      },
                      {
                        "name": "gzip",
                        "type": "boolean",
                        "label": "Request compressed content",
                        "required": true
                      },
                      {
                        "name": "useMtls",
                        "type": "boolean",
                        "label": "Use Mutual TLS",
                        "required": true
                      },
                      {
                        "name": "contentType",
                        "type": "select",
                        "label": "Content type",
                        "validate": {
                          "enum": [
                            "text/plain",
                            "application/json",
                            "application/xml",
                            "text/xml",
                            "text/html",
                            "custom"
                          ]
                        }
                      },
                      {
                        "name": "data",
                        "type": "buffer",
                        "label": "Request content"
                      },
                      {
                        "name": "followAllRedirects",
                        "type": "boolean",
                        "label": "Follow all redirect",
                        "required": true
                      }
                    ],
                    "restore": {
                      "expect": {
                        "qs": {
                          "mode": "chose"
                        },
                        "method": {
                          "mode": "chose",
                          "label": "POST"
                        },
                        "headers": {
                          "mode": "chose",
                          "items": [
                            null,
                            null
                          ]
                        },
                        "bodyType": {
                          "label": "Raw"
                        },
                        "contentType": {
                          "label": "JSON (application/json)"
                        }
                      }
                    },
                    "designer": {
                      "x": 1800,
                      "y": 0
                    },
                    "parameters": [
                      {
                        "name": "handleErrors",
                        "type": "boolean",
                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                        "required": true
                      },
                      {
                        "name": "useNewZLibDeCompress",
                        "type": "hidden"
                      }
                    ]
                  },
                  "parameters": {
                    "handleErrors": true,
                    "useNewZLibDeCompress": true
                  }
                },
                {
                  "id": 8,
                  "mapper": {
                    "from": "drive",
                    "mode": "select",
                    "values": {
                      "6": "[{\"role\":\"user\",\"content\":\"{{2.message_text}}\"},{\"role\":\"assistant\",\"content\":\"{{6.choices[].message.content}}\"}]"
                    },
                    "sheetId": "Sheet1",
                    "rowNumber": "{{5.__ROW_NUMBER__}}",
                    "spreadsheetId": "/1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI",
                    "includesHeaders": true,
                    "valueInputOption": "USER_ENTERED"
                  },
                  "module": "google-sheets:updateRow",
                  "version": 2,
                  "metadata": {
                    "expect": [
                      {
                        "name": "mode",
                        "type": "select",
                        "label": "Search Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "select",
                            "fromAll",
                            "map"
                          ]
                        }
                      },
                      {
                        "name": "valueInputOption",
                        "type": "select",
                        "label": "Value input option",
                        "validate": {
                          "enum": [
                            "USER_ENTERED",
                            "RAW"
                          ]
                        }
                      },
                      {
                        "name": "from",
                        "type": "select",
                        "label": "Drive",
                        "required": true,
                        "validate": {
                          "enum": [
                            "drive",
                            "share",
                            "team"
                          ]
                        }
                      },
                      {
                        "name": "spreadsheetId",
                        "type": "file",
                        "label": "Spreadsheet ID",
                        "required": true
                      },
                      {
                        "name": "sheetId",
                        "type": "select",
                        "label": "Sheet Name",
                        "required": true
                      },
                      {
                        "name": "rowNumber",
                        "type": "uinteger",
                        "label": "Row number",
                        "required": true
                      },
                      {
                        "name": "includesHeaders",
                        "type": "select",
                        "label": "Table contains headers",
                        "required": true,
                        "validate": {
                          "enum": [
                            true,
                            false
                          ]
                        }
                      },
                      {
                        "name": "values",
                        "spec": [
                          {
                            "name": "0",
                            "type": "text",
                            "label": "user_id (A)"
                          },
                          {
                            "name": "1",
                            "type": "text",
                            "label": "name (B)"
                          },
                          {
                            "name": "2",
                            "type": "text",
                            "label": "platform (C)"
                          },
                          {
                            "name": "3",
                            "type": "text",
                            "label": "first_message (D)"
                          },
                          {
                            "name": "4",
                            "type": "text",
                            "label": "last_message_date (E)"
                          },
                          {
                            "name": "5",
                            "type": "text",
                            "label": "status (F)"
                          },
                          {
                            "name": "6",
                            "type": "text",
                            "label": "conversation_history (G)"
                          },
                          {
                            "name": "7",
                            "type": "text",
                            "label": "lead_score (H)"
                          },
                          {
                            "name": "8",
                            "type": "text",
                            "label": "message_count (I)"
                          },
                          {
                            "name": "9",
                            "type": "text",
                            "label": "(J)"
                          },
                          {
                            "name": "10",
                            "type": "text",
                            "label": "(K)"
                          },
                          {
                            "name": "11",
                            "type": "text",
                            "label": "(L)"
                          },
                          {
                            "name": "12",
                            "type": "text",
                            "label": "(M)"
                          },
                          {
                            "name": "13",
                            "type": "text",
                            "label": "(N)"
                          },
                          {
                            "name": "14",
                            "type": "text",
                            "label": "(O)"
                          },
                          {
                            "name": "15",
                            "type": "text",
                            "label": "(P)"
                          },
                          {
                            "name": "16",
                            "type": "text",
                            "label": "(Q)"
                          },
                          {
                            "name": "17",
                            "type": "text",
                            "label": "(R)"
                          },
                          {
                            "name": "18",
                            "type": "text",
                            "label": "(S)"
                          },
                          {
                            "name": "19",
                            "type": "text",
                            "label": "(T)"
                          },
                          {
                            "name": "20",
                            "type": "text",
                            "label": "(U)"
                          },
                          {
                            "name": "21",
                            "type": "text",
                            "label": "(V)"
                          },
                          {
                            "name": "22",
                            "type": "text",
                            "label": "(W)"
                          },
                          {
                            "name": "23",
                            "type": "text",
                            "label": "(X)"
                          },
                          {
                            "name": "24",
                            "type": "text",
                            "label": "(Y)"
                          },
                          {
                            "name": "25",
                            "type": "text",
                            "label": "(Z)"
                          }
                        ],
                        "type": "collection",
                        "label": "Values"
                      }
                    ],
                    "restore": {
                      "expect": {
                        "from": {
                          "label": "My Drive"
                        },
                        "mode": {
                          "label": "Search by path"
                        },
                        "sheetId": {
                          "label": "Sheet1"
                        },
                        "spreadsheetId": {
                          "path": [
                            "1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI"
                          ]
                        },
                        "includesHeaders": {
                          "label": "Yes",
                          "nested": [
                            {
                              "name": "values",
                              "spec": [
                                {
                                  "name": "0",
                                  "type": "text",
                                  "label": "user_id (A)"
                                },
                                {
                                  "name": "1",
                                  "type": "text",
                                  "label": "name (B)"
                                },
                                {
                                  "name": "2",
                                  "type": "text",
                                  "label": "platform (C)"
                                },
                                {
                                  "name": "3",
                                  "type": "text",
                                  "label": "first_message (D)"
                                },
                                {
                                  "name": "4",
                                  "type": "text",
                                  "label": "last_message_date (E)"
                                },
                                {
                                  "name": "5",
                                  "type": "text",
                                  "label": "status (F)"
                                },
                                {
                                  "name": "6",
                                  "type": "text",
                                  "label": "conversation_history (G)"
                                },
                                {
                                  "name": "7",
                                  "type": "text",
                                  "label": "lead_score (H)"
                                },
                                {
                                  "name": "8",
                                  "type": "text",
                                  "label": "message_count (I)"
                                },
                                {
                                  "name": "9",
                                  "type": "text",
                                  "label": "(J)"
                                },
                                {
                                  "name": "10",
                                  "type": "text",
                                  "label": "(K)"
                                },
                                {
                                  "name": "11",
                                  "type": "text",
                                  "label": "(L)"
                                },
                                {
                                  "name": "12",
                                  "type": "text",
                                  "label": "(M)"
                                },
                                {
                                  "name": "13",
                                  "type": "text",
                                  "label": "(N)"
                                },
                                {
                                  "name": "14",
                                  "type": "text",
                                  "label": "(O)"
                                },
                                {
                                  "name": "15",
                                  "type": "text",
                                  "label": "(P)"
                                },
                                {
                                  "name": "16",
                                  "type": "text",
                                  "label": "(Q)"
                                },
                                {
                                  "name": "17",
                                  "type": "text",
                                  "label": "(R)"
                                },
                                {
                                  "name": "18",
                                  "type": "text",
                                  "label": "(S)"
                                },
                                {
                                  "name": "19",
                                  "type": "text",
                                  "label": "(T)"
                                },
                                {
                                  "name": "20",
                                  "type": "text",
                                  "label": "(U)"
                                },
                                {
                                  "name": "21",
                                  "type": "text",
                                  "label": "(V)"
                                },
                                {
                                  "name": "22",
                                  "type": "text",
                                  "label": "(W)"
                                },
                                {
                                  "name": "23",
                                  "type": "text",
                                  "label": "(X)"
                                },
                                {
                                  "name": "24",
                                  "type": "text",
                                  "label": "(Y)"
                                },
                                {
                                  "name": "25",
                                  "type": "text",
                                  "label": "(Z)"
                                }
                              ],
                              "type": "collection",
                              "label": "Values"
                            }
                          ]
                        },
                        "valueInputOption": {
                          "mode": "chose",
                          "label": "User entered"
                        }
                      },
                      "parameters": {
                        "__IMTCONN__": {
                          "data": {
                            "scoped": "true",
                            "connection": "google"
                          },
                          "label": "My Google connection (abdullahlinkrypt@gmail.com)"
                        }
                      }
                    },
                    "designer": {
                      "x": 2100,
                      "y": 0
                    },
                    "parameters": [
                      {
                        "name": "__IMTCONN__",
                        "type": "account:google",
                        "label": "Connection",
                        "required": true
                      }
                    ]
                  },
                  "parameters": {
                    "__IMTCONN__": 5312076
                  }
                }
              ]
            },
            {
              "flow": [
                {
                  "id": 9,
                  "filter": {
                    "name": "Existing Lead",
                    "conditions": [
                      [
                        {
                          "a": "{{3.__IMTLENGTH__}}",
                          "b": "0",
                          "o": "number:greater"
                        }
                      ]
                    ]
                  },
                  "mapper": {
                    "model": "gpt-4o-mini",
                    "top_p": "1",
                    "select": "chat",
                    "messages": [
                      {
                        "role": "system",
                        "content": "You are Alex from Antigravity, an AI agency. Style: Alex Hormozi (direct, confident). Platform: Instagram DM. Keep under 280 chars, casual, 1 emoji max, end with question. Reference previous conversation. Services: AI Automation, Meta Ads, Branding. If they ask price/cost, say: Love the energy! Let me get a strategist to reach out within 24h. Best time to catch you?"
                      },
                      {
                        "role": "user",
                        "content": "History: 3.6 New message: {{2.message_text}} - Continue as Alex.",
                        "imageDetail": "auto"
                      }
                    ],
                    "max_tokens": "1000",
                    "temperature": "0.75",
                    "n_completions": "1",
                    "response_format": "text"
                  },
                  "module": "openai-gpt-3:CreateCompletion",
                  "version": 1,
                  "metadata": {
                    "expect": [
                      {
                        "name": "select",
                        "type": "select",
                        "label": "Select Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "chat",
                            "prompt"
                          ]
                        }
                      },
                      {
                        "name": "temperature",
                        "type": "number",
                        "label": "Temperature",
                        "validate": {
                          "max": 2,
                          "min": 0
                        }
                      },
                      {
                        "name": "top_p",
                        "type": "number",
                        "label": "Top P",
                        "validate": {
                          "max": 1,
                          "min": 0
                        }
                      },
                      {
                        "name": "n_completions",
                        "type": "number",
                        "label": "Number"
                      },
                      {
                        "name": "frequency_penalty",
                        "type": "number",
                        "label": "Frequency Penalty",
                        "validate": {
                          "max": 2,
                          "min": -2
                        }
                      },
                      {
                        "name": "presence_penalty",
                        "type": "number",
                        "label": "Presence Penalty",
                        "validate": {
                          "max": 2,
                          "min": -2
                        }
                      },
                      {
                        "name": "logit_bias",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "token",
                              "type": "text",
                              "label": "Token ID",
                              "required": true
                            },
                            {
                              "name": "probability",
                              "type": "number",
                              "label": "Probability",
                              "required": true,
                              "validate": {
                                "max": 100,
                                "min": -100
                              }
                            }
                          ],
                          "type": "collection",
                          "label": "Token Probability"
                        },
                        "type": "array",
                        "label": "Token Probability"
                      },
                      {
                        "name": "seed",
                        "type": "integer",
                        "label": "Seed"
                      },
                      {
                        "name": "tool_choice",
                        "type": "select",
                        "label": "Tool Choice",
                        "validate": {
                          "enum": [
                            "none",
                            "auto",
                            "required"
                          ]
                        }
                      },
                      {
                        "name": "stop",
                        "spec": {
                          "name": "value",
                          "type": "text",
                          "label": "Stop Sequence"
                        },
                        "type": "array",
                        "label": "Stop Sequences",
                        "validate": {
                          "maxItems": 4
                        }
                      },
                      {
                        "name": "additionalParameters",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "key",
                              "type": "text",
                              "label": "Parameter Name",
                              "required": true
                            },
                            {
                              "name": "type",
                              "type": "select",
                              "label": "Input Type",
                              "options": [
                                {
                                  "label": "Text",
                                  "value": "text",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "text",
                                      "label": "Parameter Value"
                                    }
                                  ],
                                  "default": true
                                },
                                {
                                  "label": "Number",
                                  "value": "number",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "number",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Boolean",
                                  "value": "boolean",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "boolean",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Date",
                                  "value": "date",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "date",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                },
                                {
                                  "label": "Any",
                                  "value": "any",
                                  "nested": [
                                    {
                                      "name": "value",
                                      "type": "any",
                                      "label": "Parameter Value"
                                    }
                                  ]
                                }
                              ]
                            }
                          ],
                          "type": "collection",
                          "label": "Input Parameter"
                        },
                        "type": "array",
                        "label": "Other Input Parameters"
                      },
                      {
                        "name": "model",
                        "type": "select",
                        "label": "Model",
                        "required": true
                      },
                      {
                        "name": "max_tokens",
                        "type": "uinteger",
                        "label": "Max Output Tokens"
                      },
                      {
                        "name": "messages",
                        "spec": {
                          "name": "value",
                          "spec": [
                            {
                              "name": "role",
                              "type": "select",
                              "label": "Role",
                              "options": {
                                "store": [
                                  {
                                    "label": "User",
                                    "value": "user",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      },
                                      {
                                        "name": "imageInputType",
                                        "type": "select",
                                        "label": "Image Input Type",
                                        "options": [
                                          {
                                            "label": "URL",
                                            "value": "url",
                                            "nested": [
                                              {
                                                "help": "Make sure to use a publicly accessible URL.\nYou can test if your image is publicly accessible by opening the link in an incognito tab.",
                                                "name": "imageUrl",
                                                "type": "url",
                                                "label": "Image URL"
                                              }
                                            ]
                                          },
                                          {
                                            "label": "Image File",
                                            "value": "file",
                                            "nested": [
                                              {
                                                "name": "imageFile",
                                                "spec": [
                                                  {
                                                    "help": "Accepted extensions: `.jpg`, `.jpeg`, `.png`, `.webp` and `.gif`.",
                                                    "name": "imageFilename",
                                                    "type": "filename",
                                                    "label": "Image Filename",
                                                    "semantic": "file:name",
                                                    "extension": [
                                                      "jpg",
                                                      "jpeg",
                                                      "png",
                                                      "webp",
                                                      "gif"
                                                    ]
                                                  },
                                                  {
                                                    "name": "imageData",
                                                    "type": "buffer",
                                                    "label": "Image Data",
                                                    "semantic": "file:data"
                                                  }
                                                ],
                                                "type": "collection",
                                                "label": "Image"
                                              }
                                            ]
                                          }
                                        ],
                                        "mappable": false
                                      },
                                      {
                                        "help": "Recommended value: `Auto`",
                                        "name": "imageDetail",
                                        "type": "select",
                                        "label": "Image Detail",
                                        "options": [
                                          {
                                            "label": "Auto",
                                            "value": "auto",
                                            "default": true
                                          },
                                          {
                                            "label": "High",
                                            "value": "high"
                                          },
                                          {
                                            "label": "Low",
                                            "value": "low"
                                          }
                                        ]
                                      }
                                    ],
                                    "default": true
                                  },
                                  {
                                    "label": "Assistant",
                                    "value": "assistant",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      },
                                      {
                                        "mode": "edit",
                                        "name": "tool_calls",
                                        "spec": {
                                          "spec": [
                                            {
                                              "name": "type",
                                              "type": "hidden",
                                              "default": "function"
                                            },
                                            {
                                              "help": "Map this directly from the output of a previous **Create a Completion** module. Look for `Choices[]: Message.Tool Calls[]: ID`.",
                                              "name": "id",
                                              "type": "text",
                                              "label": "Tool call ID"
                                            },
                                            {
                                              "name": "function",
                                              "spec": [
                                                {
                                                  "help": "The name of the function previously called.",
                                                  "name": "name",
                                                  "type": "text",
                                                  "label": "Name",
                                                  "required": true
                                                },
                                                {
                                                  "help": "The arguments previously output by the AI.",
                                                  "name": "arguments",
                                                  "type": "text",
                                                  "label": "Arguments",
                                                  "required": true
                                                }
                                              ],
                                              "type": "collection",
                                              "label": "Function"
                                            }
                                          ],
                                          "type": "collection",
                                          "label": "Tool Call"
                                        },
                                        "type": "array",
                                        "label": "Tool Calls",
                                        "labels": {
                                          "add": "Add tool call"
                                        },
                                        "mappable": {
                                          "help": "You can map the entire `Choices[]: Message.Tool Calls` array from a previous Create a Completion module here."
                                        }
                                      }
                                    ]
                                  },
                                  {
                                    "label": "Developer / System",
                                    "value": "system",
                                    "nested": [
                                      {
                                        "help": "Text content of the message on behalf of the selected __Role__.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content"
                                      }
                                    ]
                                  },
                                  {
                                    "label": "Tool",
                                    "value": "tool",
                                    "nested": [
                                      {
                                        "help": "The return of the function. This role should only be used when you have processed a previous function call and want to send the output of the function execution back to the AI.",
                                        "name": "content",
                                        "type": "text",
                                        "label": "Text Content",
                                        "required": true
                                      },
                                      {
                                        "help": "Map this directly from the output of a previous **Create a Completion** module. Look for `Choices[]: Message.Tool Calls[]: ID`.",
                                        "name": "tool_call_id",
                                        "type": "text",
                                        "label": "Tool Call ID.",
                                        "required": true
                                      }
                                    ]
                                  }
                                ]
                              },
                              "required": true
                            }
                          ],
                          "type": "collection",
                          "label": "Message"
                        },
                        "type": "array",
                        "label": "Messages",
                        "required": true
                      },
                      {
                        "name": "response_format",
                        "type": "select",
                        "label": "Response Format",
                        "validate": {
                          "enum": [
                            "text",
                            "json_object"
                          ]
                        }
                      },
                      {
                        "name": "prediction",
                        "type": "text",
                        "label": "Predicted Outputs"
                      }
                    ],
                    "restore": {
                      "expect": {
                        "stop": {
                          "mode": "chose"
                        },
                        "model": {
                          "mode": "chose",
                          "label": "gpt-4o-mini (system)Fast, affordable small model for focused tasks"
                        },
                        "select": {
                          "label": "Create a Chat Completion (GPT and o1 models)"
                        },
                        "messages": {
                          "mode": "chose",
                          "items": [
                            {
                              "role": {
                                "mode": "chose",
                                "label": "Developer / System"
                              }
                            },
                            {
                              "role": {
                                "mode": "chose",
                                "label": "User"
                              },
                              "imageDetail": {
                                "mode": "chose",
                                "label": "Auto"
                              },
                              "imageInputType": {
                                "mode": "chose",
                                "label": "Empty"
                              }
                            }
                          ]
                        },
                        "logit_bias": {
                          "mode": "chose"
                        },
                        "tool_choice": {
                          "mode": "chose",
                          "label": "Empty"
                        },
                        "response_format": {
                          "mode": "chose",
                          "label": "Text"
                        },
                        "additionalParameters": {
                          "mode": "chose"
                        }
                      },
                      "parameters": {
                        "__IMTCONN__": {
                          "data": {
                            "scoped": "true",
                            "connection": "openai-gpt-3"
                          },
                          "label": "My OpenAI connection"
                        }
                      }
                    },
                    "designer": {
                      "x": 1200,
                      "y": 300
                    },
                    "interface": [
                      {
                        "name": "result",
                        "type": "any",
                        "label": "Result"
                      },
                      {
                        "name": "id",
                        "type": "text",
                        "label": "ID"
                      },
                      {
                        "name": "object",
                        "type": "text",
                        "label": "Object"
                      },
                      {
                        "name": "created",
                        "type": "date",
                        "label": "Created"
                      },
                      {
                        "name": "model",
                        "type": "text",
                        "label": "Model"
                      },
                      {
                        "name": "choices",
                        "spec": [
                          {
                            "name": "text",
                            "type": "text",
                            "label": "Text"
                          },
                          {
                            "name": "index",
                            "type": "number",
                            "label": "Index"
                          },
                          {
                            "name": "logprobs",
                            "type": "text",
                            "label": "Log Probs"
                          },
                          {
                            "name": "finish_reason",
                            "type": "text",
                            "label": "Finish Reason"
                          },
                          {
                            "name": "message",
                            "spec": [
                              {
                                "name": "role",
                                "type": "text",
                                "label": "Role"
                              },
                              {
                                "name": "content",
                                "type": "text",
                                "label": "Content"
                              },
                              {
                                "name": "tool_calls",
                                "spec": [
                                  {
                                    "name": "id",
                                    "type": "text",
                                    "label": "ID"
                                  },
                                  {
                                    "name": "type",
                                    "type": "text",
                                    "label": "Type"
                                  },
                                  {
                                    "name": "function",
                                    "spec": [
                                      {
                                        "name": "name",
                                        "type": "text",
                                        "label": "Name"
                                      },
                                      {
                                        "name": "arguments",
                                        "type": "text",
                                        "label": "Arguments"
                                      }
                                    ],
                                    "type": "collection",
                                    "label": "Function"
                                  }
                                ],
                                "type": "array",
                                "label": "Tool Calls"
                              },
                              {
                                "name": "refusal",
                                "type": "text",
                                "label": "Refusal"
                              },
                              {
                                "name": "annotations",
                                "spec": [
                                  {
                                    "name": "type",
                                    "type": "text",
                                    "label": "Type"
                                  },
                                  {
                                    "name": "url_citation",
                                    "spec": [
                                      {
                                        "name": "end_index",
                                        "type": "number",
                                        "label": "End Index"
                                      },
                                      {
                                        "name": "start_index",
                                        "type": "number",
                                        "label": "Start Index"
                                      },
                                      {
                                        "name": "title",
                                        "type": "text",
                                        "label": "Title"
                                      },
                                      {
                                        "name": "url",
                                        "type": "text",
                                        "label": "URL"
                                      }
                                    ],
                                    "type": "collection",
                                    "label": "URL Citation"
                                  }
                                ],
                                "type": "array",
                                "label": "Annotations"
                              }
                            ],
                            "type": "collection",
                            "label": "Message"
                          }
                        ],
                        "type": "array",
                        "label": "Choices"
                      },
                      {
                        "name": "usage",
                        "spec": [
                          {
                            "name": "prompt_tokens",
                            "type": "number",
                            "label": "Prompt Tokens"
                          },
                          {
                            "name": "completion_tokens",
                            "type": "text",
                            "label": "Completion Tokens"
                          },
                          {
                            "name": "total_tokens",
                            "type": "number",
                            "label": "Total Tokens"
                          },
                          {
                            "name": "prompt_tokens_details",
                            "spec": [
                              {
                                "name": "cached_tokens",
                                "type": "uinteger",
                                "label": "Cached Tokens"
                              },
                              {
                                "name": "text_tokens",
                                "type": "uinteger",
                                "label": "Text Tokens"
                              },
                              {
                                "name": "image_tokens",
                                "type": "uinteger",
                                "label": "Image Tokens"
                              },
                              {
                                "name": "audio_tokens",
                                "type": "uinteger",
                                "label": "Audio Tokens"
                              }
                            ],
                            "type": "collection",
                            "label": "Prompt Tokens Details"
                          },
                          {
                            "name": "completion_tokens_details",
                            "spec": [
                              {
                                "name": "reasoning_tokens",
                                "type": "uinteger",
                                "label": "Reasoning Tokens"
                              },
                              {
                                "name": "text_tokens",
                                "type": "uinteger",
                                "label": "Text Tokens"
                              },
                              {
                                "name": "audio_tokens",
                                "type": "uinteger",
                                "label": "Audio Tokens"
                              },
                              {
                                "name": "accepted_prediction_tokens",
                                "type": "uinteger",
                                "label": "Accepted Prediction Tokens"
                              },
                              {
                                "name": "rejected_prediction_tokens",
                                "type": "uinteger",
                                "label": "Rejected Prediction Tokens"
                              }
                            ],
                            "type": "collection",
                            "label": "Completion Tokens Details"
                          }
                        ],
                        "type": "collection",
                        "label": "Usage"
                      },
                      {
                        "name": "service_tier",
                        "type": "text",
                        "label": "Service Tier"
                      },
                      {
                        "name": "system_fingerprint",
                        "type": "text",
                        "label": "System Fingerprint"
                      }
                    ],
                    "parameters": [
                      {
                        "name": "__IMTCONN__",
                        "type": "account:openai-gpt-3",
                        "label": "Connection",
                        "required": true
                      }
                    ]
                  },
                  "parameters": {
                    "__IMTCONN__": 3029843
                  }
                },
                {
                  "id": 12,
                  "filter": {
                    "name": "",
                    "conditions": [
                      [
                        {
                          "a": "{{1.entry[].messaging[].recipient.id}}",
                          "b": "{{1.entry[].id}}",
                          "o": "text:equal"
                        }
                      ]
                    ]
                  },
                  "mapper": {
                    "ca": "",
                    "qs": [],
                    "url": "https://graph.instagram.com/v23.0/me/messages",
                    "data": "{\r\n  \"recipient\": {\r\n    \"id\": \"{{1.entry[].messaging[].sender.id}}\"\r\n  },\r\n  \"message\": {\r\n    \"text\": \"{{9.result}}\"\r\n  }\r\n}",
                    "gzip": true,
                    "method": "post",
                    "headers": [
                      {
                        "name": "Authorization",
                        "value": "Bearer IGAAXtZAhck6ZB1BZAGFhTDhwSXc2TUNpejU4YkFFSWVvMnZALT1hMRWtrQUpLclhhelZABREdJUDZACNjRJR3BzVDZAOMDR2SVl5MDNXcHZA0SjNZASkdEdVVoUzFFVzBsWndtRXFEcHFSdnNIZA2QyZA0ZAqNnV6VXBQSWdFb1JvbHNIUXdDRQZDZD"
                      }
                    ],
                    "timeout": "",
                    "useMtls": false,
                    "authPass": "",
                    "authUser": "",
                    "bodyType": "raw",
                    "contentType": "application/json",
                    "serializeUrl": false,
                    "shareCookies": false,
                    "parseResponse": false,
                    "followRedirect": true,
                    "useQuerystring": false,
                    "followAllRedirects": false,
                    "rejectUnauthorized": true
                  },
                  "module": "http:ActionSendData",
                  "version": 3,
                  "metadata": {
                    "expect": [
                      {
                        "name": "url",
                        "type": "url",
                        "label": "URL",
                        "required": true
                      },
                      {
                        "name": "serializeUrl",
                        "type": "boolean",
                        "label": "Serialize URL",
                        "required": true
                      },
                      {
                        "name": "method",
                        "type": "select",
                        "label": "Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "get",
                            "head",
                            "post",
                            "put",
                            "patch",
                            "delete",
                            "options"
                          ]
                        }
                      },
                      {
                        "name": "headers",
                        "spec": [
                          {
                            "name": "name",
                            "type": "text",
                            "label": "Name",
                            "required": true
                          },
                          {
                            "name": "value",
                            "type": "text",
                            "label": "Value"
                          }
                        ],
                        "type": "array",
                        "label": "Headers"
                      },
                      {
                        "name": "qs",
                        "spec": [
                          {
                            "name": "name",
                            "type": "text",
                            "label": "Name",
                            "required": true
                          },
                          {
                            "name": "value",
                            "type": "text",
                            "label": "Value"
                          }
                        ],
                        "type": "array",
                        "label": "Query String"
                      },
                      {
                        "name": "bodyType",
                        "type": "select",
                        "label": "Body type",
                        "validate": {
                          "enum": [
                            "raw",
                            "x_www_form_urlencoded",
                            "multipart_form_data"
                          ]
                        }
                      },
                      {
                        "name": "parseResponse",
                        "type": "boolean",
                        "label": "Parse response",
                        "required": true
                      },
                      {
                        "name": "authUser",
                        "type": "text",
                        "label": "User name"
                      },
                      {
                        "name": "authPass",
                        "type": "password",
                        "label": "Password"
                      },
                      {
                        "name": "timeout",
                        "type": "uinteger",
                        "label": "Timeout",
                        "validate": {
                          "max": 300,
                          "min": 1
                        }
                      },
                      {
                        "name": "shareCookies",
                        "type": "boolean",
                        "label": "Share cookies with other HTTP modules",
                        "required": true
                      },
                      {
                        "name": "ca",
                        "type": "cert",
                        "label": "Self-signed certificate"
                      },
                      {
                        "name": "rejectUnauthorized",
                        "type": "boolean",
                        "label": "Reject connections that are using unverified (self-signed) certificates",
                        "required": true
                      },
                      {
                        "name": "followRedirect",
                        "type": "boolean",
                        "label": "Follow redirect",
                        "required": true
                      },
                      {
                        "name": "useQuerystring",
                        "type": "boolean",
                        "label": "Disable serialization of multiple same query string keys as arrays",
                        "required": true
                      },
                      {
                        "name": "gzip",
                        "type": "boolean",
                        "label": "Request compressed content",
                        "required": true
                      },
                      {
                        "name": "useMtls",
                        "type": "boolean",
                        "label": "Use Mutual TLS",
                        "required": true
                      },
                      {
                        "name": "contentType",
                        "type": "select",
                        "label": "Content type",
                        "validate": {
                          "enum": [
                            "text/plain",
                            "application/json",
                            "application/xml",
                            "text/xml",
                            "text/html",
                            "custom"
                          ]
                        }
                      },
                      {
                        "name": "data",
                        "type": "buffer",
                        "label": "Request content"
                      },
                      {
                        "name": "followAllRedirects",
                        "type": "boolean",
                        "label": "Follow all redirect",
                        "required": true
                      }
                    ],
                    "restore": {
                      "expect": {
                        "qs": {
                          "mode": "chose"
                        },
                        "method": {
                          "mode": "chose",
                          "label": "POST"
                        },
                        "headers": {
                          "mode": "chose",
                          "items": [
                            null
                          ]
                        },
                        "bodyType": {
                          "label": "Raw"
                        },
                        "contentType": {
                          "label": "JSON (application/json)"
                        }
                      }
                    },
                    "designer": {
                      "x": 1500,
                      "y": 300
                    },
                    "parameters": [
                      {
                        "name": "handleErrors",
                        "type": "boolean",
                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                        "required": true
                      },
                      {
                        "name": "useNewZLibDeCompress",
                        "type": "hidden"
                      }
                    ]
                  },
                  "parameters": {
                    "handleErrors": true,
                    "useNewZLibDeCompress": true
                  }
                },
                {
                  "id": 11,
                  "mapper": {
                    "from": "drive",
                    "mode": "select",
                    "values": {
                      "4": "{{now}}",
                      "8": "{{3.8 + 1}}"
                    },
                    "sheetId": "Sheet1",
                    "rowNumber": "{{3.__ROW_NUMBER__}}",
                    "spreadsheetId": "/1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI",
                    "includesHeaders": true,
                    "valueInputOption": "USER_ENTERED"
                  },
                  "module": "google-sheets:updateRow",
                  "version": 2,
                  "metadata": {
                    "expect": [
                      {
                        "name": "mode",
                        "type": "select",
                        "label": "Search Method",
                        "required": true,
                        "validate": {
                          "enum": [
                            "select",
                            "fromAll",
                            "map"
                          ]
                        }
                      },
                      {
                        "name": "valueInputOption",
                        "type": "select",
                        "label": "Value input option",
                        "validate": {
                          "enum": [
                            "USER_ENTERED",
                            "RAW"
                          ]
                        }
                      },
                      {
                        "name": "from",
                        "type": "select",
                        "label": "Drive",
                        "required": true,
                        "validate": {
                          "enum": [
                            "drive",
                            "share",
                            "team"
                          ]
                        }
                      },
                      {
                        "name": "spreadsheetId",
                        "type": "file",
                        "label": "Spreadsheet ID",
                        "required": true
                      },
                      {
                        "name": "sheetId",
                        "type": "select",
                        "label": "Sheet Name",
                        "required": true
                      },
                      {
                        "name": "rowNumber",
                        "type": "uinteger",
                        "label": "Row number",
                        "required": true
                      },
                      {
                        "name": "includesHeaders",
                        "type": "select",
                        "label": "Table contains headers",
                        "required": true,
                        "validate": {
                          "enum": [
                            true,
                            false
                          ]
                        }
                      },
                      {
                        "name": "values",
                        "spec": [
                          {
                            "name": "0",
                            "type": "text",
                            "label": "user_id (A)"
                          },
                          {
                            "name": "1",
                            "type": "text",
                            "label": "name (B)"
                          },
                          {
                            "name": "2",
                            "type": "text",
                            "label": "platform (C)"
                          },
                          {
                            "name": "3",
                            "type": "text",
                            "label": "first_message (D)"
                          },
                          {
                            "name": "4",
                            "type": "text",
                            "label": "last_message_date (E)"
                          },
                          {
                            "name": "5",
                            "type": "text",
                            "label": "status (F)"
                          },
                          {
                            "name": "6",
                            "type": "text",
                            "label": "conversation_history (G)"
                          },
                          {
                            "name": "7",
                            "type": "text",
                            "label": "lead_score (H)"
                          },
                          {
                            "name": "8",
                            "type": "text",
                            "label": "message_count (I)"
                          },
                          {
                            "name": "9",
                            "type": "text",
                            "label": "(J)"
                          },
                          {
                            "name": "10",
                            "type": "text",
                            "label": "(K)"
                          },
                          {
                            "name": "11",
                            "type": "text",
                            "label": "(L)"
                          },
                          {
                            "name": "12",
                            "type": "text",
                            "label": "(M)"
                          },
                          {
                            "name": "13",
                            "type": "text",
                            "label": "(N)"
                          },
                          {
                            "name": "14",
                            "type": "text",
                            "label": "(O)"
                          },
                          {
                            "name": "15",
                            "type": "text",
                            "label": "(P)"
                          },
                          {
                            "name": "16",
                            "type": "text",
                            "label": "(Q)"
                          },
                          {
                            "name": "17",
                            "type": "text",
                            "label": "(R)"
                          },
                          {
                            "name": "18",
                            "type": "text",
                            "label": "(S)"
                          },
                          {
                            "name": "19",
                            "type": "text",
                            "label": "(T)"
                          },
                          {
                            "name": "20",
                            "type": "text",
                            "label": "(U)"
                          },
                          {
                            "name": "21",
                            "type": "text",
                            "label": "(V)"
                          },
                          {
                            "name": "22",
                            "type": "text",
                            "label": "(W)"
                          },
                          {
                            "name": "23",
                            "type": "text",
                            "label": "(X)"
                          },
                          {
                            "name": "24",
                            "type": "text",
                            "label": "(Y)"
                          },
                          {
                            "name": "25",
                            "type": "text",
                            "label": "(Z)"
                          }
                        ],
                        "type": "collection",
                        "label": "Values"
                      }
                    ],
                    "restore": {
                      "expect": {
                        "from": {
                          "label": "My Drive"
                        },
                        "mode": {
                          "label": "Search by path"
                        },
                        "sheetId": {
                          "label": "Sheet1"
                        },
                        "spreadsheetId": {
                          "path": [
                            "1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI"
                          ]
                        },
                        "includesHeaders": {
                          "label": "Yes",
                          "nested": [
                            {
                              "name": "values",
                              "spec": [
                                {
                                  "name": "0",
                                  "type": "text",
                                  "label": "user_id (A)"
                                },
                                {
                                  "name": "1",
                                  "type": "text",
                                  "label": "name (B)"
                                },
                                {
                                  "name": "2",
                                  "type": "text",
                                  "label": "platform (C)"
                                },
                                {
                                  "name": "3",
                                  "type": "text",
                                  "label": "first_message (D)"
                                },
                                {
                                  "name": "4",
                                  "type": "text",
                                  "label": "last_message_date (E)"
                                },
                                {
                                  "name": "5",
                                  "type": "text",
                                  "label": "status (F)"
                                },
                                {
                                  "name": "6",
                                  "type": "text",
                                  "label": "conversation_history (G)"
                                },
                                {
                                  "name": "7",
                                  "type": "text",
                                  "label": "lead_score (H)"
                                },
                                {
                                  "name": "8",
                                  "type": "text",
                                  "label": "message_count (I)"
                                },
                                {
                                  "name": "9",
                                  "type": "text",
                                  "label": "(J)"
                                },
                                {
                                  "name": "10",
                                  "type": "text",
                                  "label": "(K)"
                                },
                                {
                                  "name": "11",
                                  "type": "text",
                                  "label": "(L)"
                                },
                                {
                                  "name": "12",
                                  "type": "text",
                                  "label": "(M)"
                                },
                                {
                                  "name": "13",
                                  "type": "text",
                                  "label": "(N)"
                                },
                                {
                                  "name": "14",
                                  "type": "text",
                                  "label": "(O)"
                                },
                                {
                                  "name": "15",
                                  "type": "text",
                                  "label": "(P)"
                                },
                                {
                                  "name": "16",
                                  "type": "text",
                                  "label": "(Q)"
                                },
                                {
                                  "name": "17",
                                  "type": "text",
                                  "label": "(R)"
                                },
                                {
                                  "name": "18",
                                  "type": "text",
                                  "label": "(S)"
                                },
                                {
                                  "name": "19",
                                  "type": "text",
                                  "label": "(T)"
                                },
                                {
                                  "name": "20",
                                  "type": "text",
                                  "label": "(U)"
                                },
                                {
                                  "name": "21",
                                  "type": "text",
                                  "label": "(V)"
                                },
                                {
                                  "name": "22",
                                  "type": "text",
                                  "label": "(W)"
                                },
                                {
                                  "name": "23",
                                  "type": "text",
                                  "label": "(X)"
                                },
                                {
                                  "name": "24",
                                  "type": "text",
                                  "label": "(Y)"
                                },
                                {
                                  "name": "25",
                                  "type": "text",
                                  "label": "(Z)"
                                }
                              ],
                              "type": "collection",
                              "label": "Values"
                            }
                          ]
                        },
                        "valueInputOption": {
                          "mode": "chose",
                          "label": "User entered"
                        }
                      },
                      "parameters": {
                        "__IMTCONN__": {
                          "data": {
                            "scoped": "true",
                            "connection": "google"
                          },
                          "label": "My Google connection (abdullahlinkrypt@gmail.com)"
                        }
                      }
                    },
                    "designer": {
                      "x": 1800,
                      "y": 300
                    },
                    "parameters": [
                      {
                        "name": "__IMTCONN__",
                        "type": "account:google",
                        "label": "Connection",
                        "required": true
                      }
                    ]
                  },
                  "parameters": {
                    "__IMTCONN__": 5312076
                  }
                }
              ]
            }
          ],
          "version": 1,
          "metadata": {
            "designer": {
              "x": 900,
              "y": 150
            }
          },
          "parameters": {
            "else": 0
          }
        }
      ],
      "name": "Antigravity Instagram Sales Agent (Final)",
      "metadata": {
        "instant": true,
        "version": 1,
        "designer": {
          "orphans": [],
          "samples": {
            "1": {
              "entry": [
                {
                  "id": "17841450599065481",
                  "time": 1767221186168,
                  "messaging": [
                    {
                      "sender": {
                        "id": "1177082781284713"
                      },
                      "message": {
                        "mid": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNTk5MDY1NDgxOjM0MDI4MjM2Njg0MTcxMDMwMTI0NDI3NjIyMzI0ND...",
                        "text": "hello"
                      },
                      "recipient": {
                        "id": "17841450599065481"
                      },
                      "timestamp": 1767221185721
                    }
                  ]
                }
              ],
              "object": "instagram"
            },
            "2": {
              "is_echo": null,
              "sender_id": "1177082781284713",
              "message_text": "hello",
              "ig_account_id": "17841450599065481"
            },
            "3": {
              "0": "1177082781284713",
              "1": "",
              "2": "instagram",
              "3": "kuuilj",
              "4": "2025-12-31T22:39:33.645Z",
              "5": "new_lead",
              "6": "[]",
              "7": "0",
              "8": "1",
              "__SHEET__": "Sheet1",
              "__IMTINDEX__": 1,
              "__IMTLENGTH__": 1,
              "__ROW_NUMBER__": 2,
              "__SPREADSHEET_ID__": "1tRKEmJAnxF0GLD8dkwLLvk8zChG-Ccos-20xR8W-ZQI"
            },
            "6": {
              "id": "chatcmpl-Ct0hWT9eHNFD8TZMQ94jtXJo4xFhU",
              "model": "gpt-4o-mini-2024-07-18",
              "usage": {
                "total_tokens": 125,
                "prompt_tokens": 110,
                "completion_tokens": 15,
                "prompt_tokens_details": {
                  "audio_tokens": 0,
                  "cached_tokens": 0
                },
                "completion_tokens_details": {
                  "audio_tokens": 0,
                  "reasoning_tokens": 0,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "object": "chat.completion",
              "result": "Hey! What\u2019s up? How can I help you today? \ud83d\ude80",
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": "Hey! What\u2019s up? How can I help you today? \ud83d\ude80",
                    "refusal": null,
                    "annotations": []
                  },
                  "logprobs": null,
                  "finish_reason": "stop"
                }
              ],
              "created": "2026-01-01T00:19:30.000Z",
              "service_tier": "default",
              "system_fingerprint": "fp_8bbc38b4db"
            },
            "9": {
              "id": "chatcmpl-Ct0bpfvIjirsJY9cu7UGmPgSCKY8u",
              "model": "gpt-4o-mini-2024-07-18",
              "usage": {
                "total_tokens": 153,
                "prompt_tokens": 117,
                "completion_tokens": 36,
                "prompt_tokens_details": {
                  "audio_tokens": 0,
                  "cached_tokens": 0
                },
                "completion_tokens_details": {
                  "audio_tokens": 0,
                  "reasoning_tokens": 0,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "object": "chat.completion",
              "result": "Hey! Great to hear from you again. What's on your mind today? Need help with AI automation, Meta ads...",
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": "Hey! Great to hear from you again. What's on your mind today? Need help with AI automation, Meta ads...",
                    "refusal": null,
                    "annotations": []
                  },
                  "logprobs": null,
                  "finish_reason": "stop"
                }
              ],
              "created": "2026-01-01T00:13:37.000Z",
              "service_tier": "default",
              "system_fingerprint": "fp_29330a9688"
            },
            "12": {
              "data": "{\"recipient_id\":\"1177082781284713\",\"message_id\":\"aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDUwNTk5M...",
              "headers": [
                {
                  "name": "content-length",
                  "value": "215"
                }
              ],
              "fileSize": 215,
              "statusCode": 200,
              "cookieHeaders": []
            }
          }
        },
        "scenario": {
          "dlq": false,
          "slots": null,
          "dataloss": false,
          "maxErrors": 3,
          "autoCommit": true,
          "roundtrips": 1,
          "sequential": false,
          "autoCommitTriggerLast": true
        }
      }
    },
    "scheduling": {
      "type": "immediately",
      "maximum_runs_per_minute": null
    },
    "concept": false,
    "created": "2026-01-01T00:02:29.021Z",
    "last_edit": "2026-01-24T15:16:28.687Z",
    "metadata": {
      "input_spec": [],
      "output_spec": []
    },
    "idSequence": 13
  }
}