{
  "code": "OK",
  "response": {
    "blueprint": {
      "flow": [
        {
          "id": 1,
          "mapper": {
            "type": "clean",
            "limit": "10",
            "format": "json",
            "datasetId": "iZBsrG18noVD0KTwC"
          },
          "module": "apify:fetchDatasetItems",
          "version": 1,
          "metadata": {
            "expect": [
              {
                "name": "datasetId",
                "type": "text",
                "label": "Dataset ID",
                "required": true
              },
              {
                "name": "type",
                "type": "select",
                "label": "Data transformation",
                "required": true,
                "validate": {
                  "enum": [
                    "clean",
                    "simplified",
                    "none"
                  ]
                }
              },
              {
                "name": "format",
                "type": "select",
                "label": "Format",
                "required": true,
                "validate": {
                  "enum": [
                    "json",
                    "csv",
                    "html",
                    "xml",
                    "rss",
                    "xlsx"
                  ]
                }
              },
              {
                "name": "limit",
                "type": "uinteger",
                "label": "Limit",
                "validate": {
                  "max": 100000,
                  "min": 1
                }
              },
              {
                "name": "offset",
                "type": "uinteger",
                "label": "Offset",
                "validate": {
                  "min": 0
                }
              }
            ],
            "restore": {
              "expect": {
                "type": {
                  "mode": "chose",
                  "label": "Clean"
                },
                "format": {
                  "mode": "chose",
                  "label": "JSON"
                }
              },
              "parameters": {
                "__IMTCONN__": {
                  "data": {
                    "scoped": "true",
                    "connection": "apify2"
                  },
                  "label": "My Apify [Recommended] connection (idreesqurashi6@gmail.com)"
                }
              }
            },
            "designer": {
              "x": 0,
              "y": 0
            },
            "parameters": [
              {
                "name": "__IMTCONN__",
                "type": "account:apify2,apify",
                "label": "Connection",
                "required": true
              }
            ]
          },
          "parameters": {
            "__IMTCONN__": 5561418
          }
        },
        {
          "id": 5,
          "mapper": {
            "from": "drive",
            "filter": [
              [
                {
                  "a": "A",
                  "b": "{{1.urn}}",
                  "o": "text:equal"
                }
              ]
            ],
            "sheetId": "scrapped-post",
            "sortOrder": "asc",
            "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
            "tableFirstRow": "A1:CZ1",
            "includesHeaders": true,
            "valueRenderOption": "FORMATTED_VALUE",
            "dateTimeRenderOption": "FORMATTED_STRING"
          },
          "module": "google-sheets:filterRows",
          "version": 2,
          "metadata": {
            "expect": [
              {
                "name": "from",
                "type": "select",
                "label": "Search Method",
                "required": true,
                "validate": {
                  "enum": [
                    "drive",
                    "share"
                  ]
                }
              },
              {
                "name": "valueRenderOption",
                "type": "select",
                "label": "Value render option",
                "validate": {
                  "enum": [
                    "FORMATTED_VALUE",
                    "UNFORMATTED_VALUE",
                    "FORMULA"
                  ]
                }
              },
              {
                "name": "dateTimeRenderOption",
                "type": "select",
                "label": "Date and time render option",
                "validate": {
                  "enum": [
                    "SERIAL_NUMBER",
                    "FORMATTED_STRING"
                  ]
                }
              },
              {
                "name": "limit",
                "type": "uinteger",
                "label": "Limit"
              },
              {
                "name": "spreadsheetId",
                "type": "select",
                "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": "tableFirstRow",
                "type": "select",
                "label": "Column range",
                "required": true,
                "validate": {
                  "enum": [
                    "A1:Z1",
                    "A1:BZ1",
                    "A1:CZ1",
                    "A1:DZ1",
                    "A1:MZ1",
                    "A1:ZZ1",
                    "A1:AZZ1",
                    "A1:BZZ1",
                    "A1:CZZ1",
                    "A1:DZZ1",
                    "A1:MZZ1",
                    "A1:ZZZ1"
                  ]
                }
              },
              {
                "name": "filter",
                "type": "filter",
                "label": "Filter",
                "options": "rpc://google-sheets/2/rpcGetFilterKeys?includesHeaders=true"
              },
              {
                "name": "orderBy",
                "type": "select",
                "label": "Order by"
              },
              {
                "name": "sortOrder",
                "type": "select",
                "label": "Sort order",
                "validate": {
                  "enum": [
                    "asc",
                    "desc"
                  ]
                }
              }
            ],
            "restore": {
              "expect": {
                "from": {
                  "label": "Select from My Drive"
                },
                "orderBy": {
                  "mode": "chose",
                  "label": "Empty"
                },
                "sheetId": {
                  "mode": "chose",
                  "label": "scrapped-post"
                },
                "sortOrder": {
                  "mode": "chose",
                  "label": "Ascending"
                },
                "spreadsheetId": {
                  "mode": "chose",
                  "label": "LinkedIn Post"
                },
                "tableFirstRow": {
                  "label": "A-CZ"
                },
                "includesHeaders": {
                  "mode": "chose",
                  "label": "Yes"
                },
                "valueRenderOption": {
                  "mode": "chose",
                  "label": "Formatted value"
                },
                "dateTimeRenderOption": {
                  "mode": "chose",
                  "label": "Formatted string"
                }
              },
              "parameters": {
                "__IMTCONN__": {
                  "data": {
                    "scoped": "true",
                    "connection": "google"
                  },
                  "label": "My Google connection (a.hashage@gmail.com)"
                }
              }
            },
            "designer": {
              "x": 300,
              "y": 0
            },
            "interface": [
              {
                "name": "__IMTLENGTH__",
                "type": "uinteger",
                "label": "Total number of bundles"
              },
              {
                "name": "__IMTINDEX__",
                "type": "uinteger",
                "label": "Bundle order position"
              },
              {
                "name": "__ROW_NUMBER__",
                "type": "number",
                "label": "Row number"
              },
              {
                "name": "__SPREADSHEET_ID__",
                "type": "text",
                "label": "Spreadsheet ID"
              },
              {
                "name": "__SHEET__",
                "type": "text",
                "label": "Sheet"
              },
              {
                "name": "0",
                "type": "text",
                "label": "urn (A)"
              },
              {
                "name": "1",
                "type": "text",
                "label": "type (B)"
              },
              {
                "name": "2",
                "type": "text",
                "label": "isActivity (C)"
              },
              {
                "name": "3",
                "type": "text",
                "label": "activityDescription (D)"
              },
              {
                "name": "4",
                "type": "text",
                "label": "activityOfUser.firstName (E)"
              },
              {
                "name": "5",
                "type": "text",
                "label": "activityOfUser.lastName (F)"
              },
              {
                "name": "6",
                "type": "text",
                "label": "activityOfUser.occupation (G)"
              },
              {
                "name": "7",
                "type": "text",
                "label": "activityOfUser.id (H)"
              },
              {
                "name": "8",
                "type": "text",
                "label": "activityOfUser.publicId (I)"
              },
              {
                "name": "9",
                "type": "text",
                "label": "activityOfUser.trackingId (J)"
              },
              {
                "name": "10",
                "type": "text",
                "label": "activityOfUser.profileId (K)"
              },
              {
                "name": "11",
                "type": "text",
                "label": "activityOfUser.picture (L)"
              },
              {
                "name": "12",
                "type": "text",
                "label": "activityOfUser.backgroundImage (M)"
              },
              {
                "name": "13",
                "type": "text",
                "label": "url (N)"
              },
              {
                "name": "14",
                "type": "text",
                "label": "timeSincePosted (O)"
              },
              {
                "name": "15",
                "type": "text",
                "label": "shareUrn (P)"
              },
              {
                "name": "16",
                "type": "text",
                "label": "text (Q)"
              },
              {
                "name": "17",
                "type": "text",
                "label": "attributes (R)"
              },
              {
                "name": "18",
                "type": "text",
                "label": "comments (S)"
              },
              {
                "name": "19",
                "type": "text",
                "label": "numShares (T)"
              },
              {
                "name": "20",
                "type": "text",
                "label": "numLikes (U)"
              },
              {
                "name": "21",
                "type": "text",
                "label": "numComments (V)"
              },
              {
                "name": "22",
                "type": "text",
                "label": "postedAtTimestamp (W)"
              },
              {
                "name": "23",
                "type": "text",
                "label": "postedAtISO (X)"
              },
              {
                "name": "24",
                "type": "text",
                "label": "inputUrl (Y)"
              },
              {
                "name": "25",
                "type": "text",
                "label": "(Z)"
              },
              {
                "name": "26",
                "type": "text",
                "label": "(AA)"
              },
              {
                "name": "27",
                "type": "text",
                "label": "(AB)"
              },
              {
                "name": "28",
                "type": "text",
                "label": "(AC)"
              },
              {
                "name": "29",
                "type": "text",
                "label": "(AD)"
              },
              {
                "name": "30",
                "type": "text",
                "label": "(AE)"
              },
              {
                "name": "31",
                "type": "text",
                "label": "(AF)"
              },
              {
                "name": "32",
                "type": "text",
                "label": "(AG)"
              },
              {
                "name": "33",
                "type": "text",
                "label": "(AH)"
              },
              {
                "name": "34",
                "type": "text",
                "label": "(AI)"
              },
              {
                "name": "35",
                "type": "text",
                "label": "(AJ)"
              },
              {
                "name": "36",
                "type": "text",
                "label": "(AK)"
              },
              {
                "name": "37",
                "type": "text",
                "label": "(AL)"
              },
              {
                "name": "38",
                "type": "text",
                "label": "(AM)"
              },
              {
                "name": "39",
                "type": "text",
                "label": "(AN)"
              },
              {
                "name": "40",
                "type": "text",
                "label": "(AO)"
              },
              {
                "name": "41",
                "type": "text",
                "label": "(AP)"
              },
              {
                "name": "42",
                "type": "text",
                "label": "(AQ)"
              },
              {
                "name": "43",
                "type": "text",
                "label": "(AR)"
              },
              {
                "name": "44",
                "type": "text",
                "label": "(AS)"
              },
              {
                "name": "45",
                "type": "text",
                "label": "(AT)"
              },
              {
                "name": "46",
                "type": "text",
                "label": "(AU)"
              },
              {
                "name": "47",
                "type": "text",
                "label": "(AV)"
              },
              {
                "name": "48",
                "type": "text",
                "label": "(AW)"
              },
              {
                "name": "49",
                "type": "text",
                "label": "(AX)"
              },
              {
                "name": "50",
                "type": "text",
                "label": "(AY)"
              },
              {
                "name": "51",
                "type": "text",
                "label": "(AZ)"
              },
              {
                "name": "52",
                "type": "text",
                "label": "(BA)"
              },
              {
                "name": "53",
                "type": "text",
                "label": "(BB)"
              },
              {
                "name": "54",
                "type": "text",
                "label": "(BC)"
              },
              {
                "name": "55",
                "type": "text",
                "label": "(BD)"
              },
              {
                "name": "56",
                "type": "text",
                "label": "(BE)"
              },
              {
                "name": "57",
                "type": "text",
                "label": "(BF)"
              },
              {
                "name": "58",
                "type": "text",
                "label": "(BG)"
              },
              {
                "name": "59",
                "type": "text",
                "label": "(BH)"
              },
              {
                "name": "60",
                "type": "text",
                "label": "(BI)"
              },
              {
                "name": "61",
                "type": "text",
                "label": "(BJ)"
              },
              {
                "name": "62",
                "type": "text",
                "label": "(BK)"
              },
              {
                "name": "63",
                "type": "text",
                "label": "(BL)"
              },
              {
                "name": "64",
                "type": "text",
                "label": "(BM)"
              },
              {
                "name": "65",
                "type": "text",
                "label": "(BN)"
              },
              {
                "name": "66",
                "type": "text",
                "label": "(BO)"
              },
              {
                "name": "67",
                "type": "text",
                "label": "(BP)"
              },
              {
                "name": "68",
                "type": "text",
                "label": "(BQ)"
              },
              {
                "name": "69",
                "type": "text",
                "label": "(BR)"
              },
              {
                "name": "70",
                "type": "text",
                "label": "(BS)"
              },
              {
                "name": "71",
                "type": "text",
                "label": "(BT)"
              },
              {
                "name": "72",
                "type": "text",
                "label": "(BU)"
              },
              {
                "name": "73",
                "type": "text",
                "label": "(BV)"
              },
              {
                "name": "74",
                "type": "text",
                "label": "(BW)"
              },
              {
                "name": "75",
                "type": "text",
                "label": "(BX)"
              },
              {
                "name": "76",
                "type": "text",
                "label": "(BY)"
              },
              {
                "name": "77",
                "type": "text",
                "label": "(BZ)"
              },
              {
                "name": "78",
                "type": "text",
                "label": "(CA)"
              },
              {
                "name": "79",
                "type": "text",
                "label": "(CB)"
              },
              {
                "name": "80",
                "type": "text",
                "label": "(CC)"
              },
              {
                "name": "81",
                "type": "text",
                "label": "(CD)"
              },
              {
                "name": "82",
                "type": "text",
                "label": "(CE)"
              },
              {
                "name": "83",
                "type": "text",
                "label": "(CF)"
              },
              {
                "name": "84",
                "type": "text",
                "label": "(CG)"
              },
              {
                "name": "85",
                "type": "text",
                "label": "(CH)"
              },
              {
                "name": "86",
                "type": "text",
                "label": "(CI)"
              },
              {
                "name": "87",
                "type": "text",
                "label": "(CJ)"
              },
              {
                "name": "88",
                "type": "text",
                "label": "(CK)"
              },
              {
                "name": "89",
                "type": "text",
                "label": "(CL)"
              },
              {
                "name": "90",
                "type": "text",
                "label": "(CM)"
              },
              {
                "name": "91",
                "type": "text",
                "label": "(CN)"
              },
              {
                "name": "92",
                "type": "text",
                "label": "(CO)"
              },
              {
                "name": "93",
                "type": "text",
                "label": "(CP)"
              },
              {
                "name": "94",
                "type": "text",
                "label": "(CQ)"
              },
              {
                "name": "95",
                "type": "text",
                "label": "(CR)"
              },
              {
                "name": "96",
                "type": "text",
                "label": "(CS)"
              },
              {
                "name": "97",
                "type": "text",
                "label": "(CT)"
              },
              {
                "name": "98",
                "type": "text",
                "label": "(CU)"
              },
              {
                "name": "99",
                "type": "text",
                "label": "(CV)"
              },
              {
                "name": "100",
                "type": "text",
                "label": "(CW)"
              },
              {
                "name": "101",
                "type": "text",
                "label": "(CX)"
              },
              {
                "name": "102",
                "type": "text",
                "label": "(CY)"
              },
              {
                "name": "103",
                "type": "text",
                "label": "(CZ)"
              }
            ],
            "parameters": [
              {
                "name": "__IMTCONN__",
                "type": "account:google",
                "label": "Connection",
                "required": true
              }
            ]
          },
          "parameters": {
            "__IMTCONN__": 3255629
          }
        },
        {
          "id": 6,
          "filter": {
            "name": "New?",
            "conditions": [
              [
                {
                  "a": "{{5.`__IMTLENGTH__`}}",
                  "b": "0",
                  "o": "text:equal"
                }
              ]
            ]
          },
          "mapper": {
            "scope": "roundtrip",
            "variables": [
              {
                "name": "sanitisedPost",
                "value": "{\"post\":\"{{replace(1.text; newline; space)}}\"}"
              }
            ]
          },
          "module": "util:SetVariables",
          "version": 1,
          "metadata": {
            "expect": [
              {
                "name": "variables",
                "spec": [
                  {
                    "name": "name",
                    "type": "text",
                    "label": "Variable name",
                    "required": true
                  },
                  {
                    "name": "value",
                    "type": "any",
                    "label": "Variable value"
                  }
                ],
                "type": "array",
                "label": "Variables"
              },
              {
                "name": "scope",
                "type": "select",
                "label": "Variable lifetime",
                "required": true,
                "validate": {
                  "enum": [
                    "roundtrip",
                    "execution"
                  ]
                }
              }
            ],
            "restore": {
              "expect": {
                "scope": {
                  "label": "One cycle"
                },
                "variables": {
                  "items": [
                    null
                  ]
                }
              }
            },
            "designer": {
              "x": 600,
              "y": 0,
              "name": "Sanitise text"
            },
            "interface": [
              {
                "name": "sanitisedPost",
                "type": "any",
                "label": "sanitisedPost"
              }
            ]
          },
          "parameters": {}
        },
        {
          "id": 3,
          "mapper": {
            "model": "gpt-5-mini",
            "top_p": "1",
            "select": "chat",
            "messages": [
              {
                "role": "system",
                "content": "You're a helpful, intelligent writing assistant."
              },
              {
                "role": "user",
                "content": "Your task is to identify whether or not a post is \"evergreen\" or \"personal\".\n\nEvergreen posts are about general concepts, ideas, facts, movements, opinions, statements, etc.\n\nPersonal posts are about a specific person, or about an event in the poster's life.\n\nA good rule of thumb is:\n- If the post discusses something that is relevant only to the poster, it is personal.\n- If the post discusses a broader idea, concept, or subject, it is evergreen.\n-If the post has something like \" I have generated these results for my clients\" \nwith the actual figures of results, Mark them as personel\n\nReturn your result in JSON using this format:\n\n{\"verdict\":\"verdict goes here\"}"
              },
              {
                "role": "user",
                "content": "{\"post\":\"Stay tuned for January 2025! 2024 isn\u2019t over yet But together with \ud83e\uddc9Marcos Stubrin We\u2019re preparing a hot live event featuring automate rev. ops. and TAM Acceleration. \ud83d\udc49 Main topic? Multichannel outreach. Specifically, we\u2019ll discuss: \u2022 How to use Clay as the center of your RevOps \u2022 How to leverage multichannel outreach effectively \u2022 How to automate WhatsApp follow-ups for interested leads \u2022 When to choose one channel over another based on volumes and ACV \u2022 Other high-impact channels like LinkedIn, cold calling, and even handwritten mail More information will be shared in the coming weeks \ud83d\udd25\"}"
              },
              {
                "role": "assistant",
                "content": "{\"verdict\":\"personal\"}"
              },
              {
                "role": "user",
                "content": "{\"post\":\"{{6.sanitisedPost}}\"}"
              }
            ],
            "max_tokens": "2048",
            "temperature": "1",
            "n_completions": "1",
            "response_format": "json_object",
            "parseJSONResponse": true
          },
          "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 Completion 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"
                              }
                            ]
                          },
                          {
                            "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": "reasoning_effort",
                "type": "select",
                "label": "Reasoning Effort",
                "validate": {
                  "enum": [
                    "minimal",
                    "low",
                    "medium",
                    "high"
                  ]
                }
              },
              {
                "name": "parseJSONResponse",
                "type": "boolean",
                "label": "Parse JSON Response",
                "required": true
              }
            ],
            "restore": {
              "expect": {
                "stop": {
                  "mode": "chose"
                },
                "model": {
                  "mode": "chose",
                  "label": "gpt-5-mini (system)"
                },
                "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"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "User"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "Assistant"
                      },
                      "tool_calls": {
                        "mode": "edit"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "User"
                      }
                    }
                  ]
                },
                "logit_bias": {
                  "mode": "chose"
                },
                "tool_choice": {
                  "mode": "chose",
                  "label": "Empty"
                },
                "response_format": {
                  "mode": "chose",
                  "label": "JSON Object"
                },
                "reasoning_effort": {
                  "mode": "chose",
                  "label": "Empty"
                },
                "parseJSONResponse": {
                  "mode": "chose"
                },
                "additionalParameters": {
                  "mode": "chose"
                }
              },
              "parameters": {
                "__IMTCONN__": {
                  "data": {
                    "scoped": "true",
                    "connection": "openai-gpt-3"
                  },
                  "label": "My OpenAI connection"
                }
              }
            },
            "advanced": true,
            "designer": {
              "x": 900,
              "y": 0,
              "name": "Filter Post"
            },
            "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": 4,
          "filter": {
            "name": "Evergreen?",
            "conditions": [
              [
                {
                  "a": "{{3.result.verdict}}",
                  "b": "evergreen",
                  "o": "text:equal"
                }
              ]
            ]
          },
          "mapper": {
            "from": "drive",
            "mode": "select",
            "values": {
              "0": "{{1.urn}}",
              "1": "{{1.type}}",
              "2": "{{1.isActivity}}",
              "3": "{{1.activityDescription}}",
              "4": "{{1.activityOfUser.firstName}}",
              "5": "{{1.activityOfUser.lastName}}",
              "6": "{{1.activityOfUser.occupation}}",
              "7": "{{1.activityOfUser.id}}",
              "8": "{{1.activityOfUser.publicId}}",
              "9": "{{1.activityOfUser.trackingId}}",
              "10": "{{1.activityOfUser.profileId}}",
              "11": "{{1.activityOfUser.picture}}",
              "12": "{{1.activityOfUser.backgroundImage}}",
              "13": "{{1.url}}",
              "14": "{{1.timeSincePosted}}",
              "15": "{{1.shareUrn}}",
              "16": "{{1.text}}",
              "17": "{{1.attributes}}",
              "18": "{{1.comments}}",
              "19": "{{1.numShares}}",
              "20": "{{1.numLikes}}",
              "21": "{{1.numComments}}",
              "22": "{{1.postedAtTimestamp}}",
              "23": "{{1.postedAtISO}}",
              "24": "{{1.inputUrl}}"
            },
            "sheetId": "scrapped-post",
            "spreadsheetId": "/13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
            "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": "urn (A)"
                  },
                  {
                    "name": "1",
                    "type": "text",
                    "label": "type (B)"
                  },
                  {
                    "name": "2",
                    "type": "text",
                    "label": "isActivity (C)"
                  },
                  {
                    "name": "3",
                    "type": "text",
                    "label": "activityDescription (D)"
                  },
                  {
                    "name": "4",
                    "type": "text",
                    "label": "activityOfUser.firstName (E)"
                  },
                  {
                    "name": "5",
                    "type": "text",
                    "label": "activityOfUser.lastName (F)"
                  },
                  {
                    "name": "6",
                    "type": "text",
                    "label": "activityOfUser.occupation (G)"
                  },
                  {
                    "name": "7",
                    "type": "text",
                    "label": "activityOfUser.id (H)"
                  },
                  {
                    "name": "8",
                    "type": "text",
                    "label": "activityOfUser.publicId (I)"
                  },
                  {
                    "name": "9",
                    "type": "text",
                    "label": "activityOfUser.trackingId (J)"
                  },
                  {
                    "name": "10",
                    "type": "text",
                    "label": "activityOfUser.profileId (K)"
                  },
                  {
                    "name": "11",
                    "type": "text",
                    "label": "activityOfUser.picture (L)"
                  },
                  {
                    "name": "12",
                    "type": "text",
                    "label": "activityOfUser.backgroundImage (M)"
                  },
                  {
                    "name": "13",
                    "type": "text",
                    "label": "url (N)"
                  },
                  {
                    "name": "14",
                    "type": "text",
                    "label": "timeSincePosted (O)"
                  },
                  {
                    "name": "15",
                    "type": "text",
                    "label": "shareUrn (P)"
                  },
                  {
                    "name": "16",
                    "type": "text",
                    "label": "text (Q)"
                  },
                  {
                    "name": "17",
                    "type": "text",
                    "label": "attributes (R)"
                  },
                  {
                    "name": "18",
                    "type": "text",
                    "label": "comments (S)"
                  },
                  {
                    "name": "19",
                    "type": "text",
                    "label": "numShares (T)"
                  },
                  {
                    "name": "20",
                    "type": "text",
                    "label": "numLikes (U)"
                  },
                  {
                    "name": "21",
                    "type": "text",
                    "label": "numComments (V)"
                  },
                  {
                    "name": "22",
                    "type": "text",
                    "label": "postedAtTimestamp (W)"
                  },
                  {
                    "name": "23",
                    "type": "text",
                    "label": "postedAtISO (X)"
                  },
                  {
                    "name": "24",
                    "type": "text",
                    "label": "inputUrl (Y)"
                  },
                  {
                    "name": "25",
                    "type": "text",
                    "label": "(Z)"
                  },
                  {
                    "name": "26",
                    "type": "text",
                    "label": "(AA)"
                  },
                  {
                    "name": "27",
                    "type": "text",
                    "label": "(AB)"
                  }
                ],
                "type": "collection",
                "label": "Values"
              }
            ],
            "restore": {
              "expect": {
                "from": {
                  "label": "My Drive"
                },
                "mode": {
                  "label": "Search by path"
                },
                "sheetId": {
                  "label": "scrapped-post"
                },
                "spreadsheetId": {
                  "path": [
                    "LinkedIn Post"
                  ]
                },
                "includesHeaders": {
                  "label": "Yes",
                  "nested": [
                    {
                      "name": "values",
                      "spec": [
                        {
                          "name": "0",
                          "type": "text",
                          "label": "urn (A)"
                        },
                        {
                          "name": "1",
                          "type": "text",
                          "label": "type (B)"
                        },
                        {
                          "name": "2",
                          "type": "text",
                          "label": "isActivity (C)"
                        },
                        {
                          "name": "3",
                          "type": "text",
                          "label": "activityDescription (D)"
                        },
                        {
                          "name": "4",
                          "type": "text",
                          "label": "activityOfUser.firstName (E)"
                        },
                        {
                          "name": "5",
                          "type": "text",
                          "label": "activityOfUser.lastName (F)"
                        },
                        {
                          "name": "6",
                          "type": "text",
                          "label": "activityOfUser.occupation (G)"
                        },
                        {
                          "name": "7",
                          "type": "text",
                          "label": "activityOfUser.id (H)"
                        },
                        {
                          "name": "8",
                          "type": "text",
                          "label": "activityOfUser.publicId (I)"
                        },
                        {
                          "name": "9",
                          "type": "text",
                          "label": "activityOfUser.trackingId (J)"
                        },
                        {
                          "name": "10",
                          "type": "text",
                          "label": "activityOfUser.profileId (K)"
                        },
                        {
                          "name": "11",
                          "type": "text",
                          "label": "activityOfUser.picture (L)"
                        },
                        {
                          "name": "12",
                          "type": "text",
                          "label": "activityOfUser.backgroundImage (M)"
                        },
                        {
                          "name": "13",
                          "type": "text",
                          "label": "url (N)"
                        },
                        {
                          "name": "14",
                          "type": "text",
                          "label": "timeSincePosted (O)"
                        },
                        {
                          "name": "15",
                          "type": "text",
                          "label": "shareUrn (P)"
                        },
                        {
                          "name": "16",
                          "type": "text",
                          "label": "text (Q)"
                        },
                        {
                          "name": "17",
                          "type": "text",
                          "label": "attributes (R)"
                        },
                        {
                          "name": "18",
                          "type": "text",
                          "label": "comments (S)"
                        },
                        {
                          "name": "19",
                          "type": "text",
                          "label": "numShares (T)"
                        },
                        {
                          "name": "20",
                          "type": "text",
                          "label": "numLikes (U)"
                        },
                        {
                          "name": "21",
                          "type": "text",
                          "label": "numComments (V)"
                        },
                        {
                          "name": "22",
                          "type": "text",
                          "label": "postedAtTimestamp (W)"
                        },
                        {
                          "name": "23",
                          "type": "text",
                          "label": "postedAtISO (X)"
                        },
                        {
                          "name": "24",
                          "type": "text",
                          "label": "inputUrl (Y)"
                        },
                        {
                          "name": "25",
                          "type": "text",
                          "label": "(Z)"
                        },
                        {
                          "name": "26",
                          "type": "text",
                          "label": "(AA)"
                        },
                        {
                          "name": "27",
                          "type": "text",
                          "label": "(AB)"
                        }
                      ],
                      "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 (a.hashage@gmail.com)"
                }
              }
            },
            "designer": {
              "x": 1200,
              "y": 0,
              "name": "Add source Post"
            },
            "parameters": [
              {
                "name": "__IMTCONN__",
                "type": "account:google",
                "label": "Connection",
                "required": true
              }
            ]
          },
          "parameters": {
            "__IMTCONN__": 3255629
          }
        },
        {
          "id": 7,
          "mapper": {
            "model": "gpt-5",
            "top_p": "1",
            "select": "chat",
            "messages": [
              {
                "role": "system",
                "content": "You're a helpful, intelligent writing assistant."
              },
              {
                "role": "user",
                "content": "Your task is to write a post based on the text in a sample post. You should be heavily inspired by the sample post, and your output should be of similar length to the input.\nRules:\n- Make sure to remove \" I have done a thing that did this thing\" kinnda parts of the posts.\n- You should make the post more unique and easy to understand while still heavily inspired by the orignal post\n- Donot Bold any text\n\nReturn your post in JSON using this format. Replace newlines with \\n.\n\nTone of voice guidelines:\n- Write with shorter, straightforward sentences.\n- Be spartan in tone.\n- Flip a coin. If the coin comes up heads, use *asterisks* for emphasis throughout the post. If not, don't.\n\n\n{\"post\":\"post goes here\"}"
              },
              {
                "role": "user",
                "content": "{\"samplePost\":\"Show your resume to 100 people, and you\u2019ll get 100 different opinions. Add AI and applicant tracking systems and it feels even harder. It\u2019s a lot, right? but in the end, a person will hire you.Don\u2019t rewrite your resume 100 times. A resume has one job to get you noticed and help you get an interview. #resume\"}"
              },
              {
                "role": "assistant",
                "content": "{\"post\":\"If you asked for resume feedback from 50 people, you'd get 50 different perspectives.\\n\\nThere are many conflicting beliefs\u2014and not all of them are valid. Instead of trying to satisfy everybody, understand that, ultimately, you only need *one person* to like your approach in order to get hired.\\n\\nWrite for that one person. #entrepreneurship #businessidea\"}"
              },
              {
                "role": "user",
                "content": "{\"samplePost\":\"{{6.sanitisedPost}}\"}"
              }
            ],
            "max_tokens": "2048",
            "temperature": ".8",
            "n_completions": "1",
            "response_format": "json_object",
            "parseJSONResponse": true
          },
          "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 Completion 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"
                              }
                            ]
                          },
                          {
                            "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": "reasoning_effort",
                "type": "select",
                "label": "Reasoning Effort",
                "validate": {
                  "enum": [
                    "minimal",
                    "low",
                    "medium",
                    "high"
                  ]
                }
              },
              {
                "name": "parseJSONResponse",
                "type": "boolean",
                "label": "Parse JSON Response",
                "required": true
              }
            ],
            "restore": {
              "expect": {
                "stop": {
                  "mode": "chose"
                },
                "model": {
                  "mode": "chose",
                  "label": "gpt-5 (system)"
                },
                "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"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "User"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "Assistant"
                      },
                      "tool_calls": {
                        "mode": "edit"
                      }
                    },
                    {
                      "role": {
                        "mode": "chose",
                        "label": "User"
                      }
                    }
                  ]
                },
                "logit_bias": {
                  "mode": "chose"
                },
                "tool_choice": {
                  "mode": "chose",
                  "label": "Empty"
                },
                "response_format": {
                  "mode": "chose",
                  "label": "JSON Object"
                },
                "reasoning_effort": {
                  "mode": "chose",
                  "label": "Empty"
                },
                "parseJSONResponse": {
                  "mode": "chose"
                },
                "additionalParameters": {
                  "mode": "chose"
                }
              },
              "parameters": {
                "__IMTCONN__": {
                  "data": {
                    "scoped": "true",
                    "connection": "openai-gpt-3"
                  },
                  "label": "My OpenAI connection"
                }
              }
            },
            "advanced": true,
            "designer": {
              "x": 1500,
              "y": 0,
              "name": "Rewrite Post"
            },
            "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": 11,
          "mapper": {
            "from": "drive",
            "filter": [
              [
                {
                  "a": "I",
                  "b": "{{now}}",
                  "o": "date:greater"
                }
              ]
            ],
            "sheetId": "Generated Post",
            "sortOrder": "asc",
            "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
            "tableFirstRow": "A1:CZ1",
            "includesHeaders": true,
            "valueRenderOption": "FORMATTED_VALUE",
            "dateTimeRenderOption": "FORMATTED_STRING"
          },
          "module": "google-sheets:filterRows",
          "version": 2,
          "metadata": {
            "expect": [
              {
                "name": "from",
                "type": "select",
                "label": "Search Method",
                "required": true,
                "validate": {
                  "enum": [
                    "drive",
                    "share"
                  ]
                }
              },
              {
                "name": "valueRenderOption",
                "type": "select",
                "label": "Value render option",
                "validate": {
                  "enum": [
                    "FORMATTED_VALUE",
                    "UNFORMATTED_VALUE",
                    "FORMULA"
                  ]
                }
              },
              {
                "name": "dateTimeRenderOption",
                "type": "select",
                "label": "Date and time render option",
                "validate": {
                  "enum": [
                    "SERIAL_NUMBER",
                    "FORMATTED_STRING"
                  ]
                }
              },
              {
                "name": "limit",
                "type": "uinteger",
                "label": "Limit"
              },
              {
                "name": "spreadsheetId",
                "type": "select",
                "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": "tableFirstRow",
                "type": "select",
                "label": "Column range",
                "required": true,
                "validate": {
                  "enum": [
                    "A1:Z1",
                    "A1:BZ1",
                    "A1:CZ1",
                    "A1:DZ1",
                    "A1:MZ1",
                    "A1:ZZ1",
                    "A1:AZZ1",
                    "A1:BZZ1",
                    "A1:CZZ1",
                    "A1:DZZ1",
                    "A1:MZZ1",
                    "A1:ZZZ1"
                  ]
                }
              },
              {
                "name": "filter",
                "type": "filter",
                "label": "Filter",
                "options": "rpc://google-sheets/2/rpcGetFilterKeys?includesHeaders=true"
              },
              {
                "name": "orderBy",
                "type": "select",
                "label": "Order by"
              },
              {
                "name": "sortOrder",
                "type": "select",
                "label": "Sort order",
                "validate": {
                  "enum": [
                    "asc",
                    "desc"
                  ]
                }
              }
            ],
            "restore": {
              "expect": {
                "from": {
                  "label": "Select from My Drive"
                },
                "orderBy": {
                  "mode": "chose"
                },
                "sheetId": {
                  "mode": "chose",
                  "label": "Generated Post"
                },
                "sortOrder": {
                  "mode": "chose",
                  "label": "Ascending"
                },
                "spreadsheetId": {
                  "mode": "chose",
                  "label": "LinkedIn Post"
                },
                "tableFirstRow": {
                  "label": "A-CZ"
                },
                "includesHeaders": {
                  "mode": "chose",
                  "label": "Yes"
                },
                "valueRenderOption": {
                  "mode": "chose",
                  "label": "Formatted value"
                },
                "dateTimeRenderOption": {
                  "mode": "chose",
                  "label": "Formatted string"
                }
              },
              "parameters": {
                "__IMTCONN__": {
                  "data": {
                    "scoped": "true",
                    "connection": "google"
                  },
                  "label": "My Google connection (a.hashage@gmail.com)"
                }
              }
            },
            "designer": {
              "x": 1800,
              "y": 0
            },
            "interface": [
              {
                "name": "__IMTLENGTH__",
                "type": "uinteger",
                "label": "Total number of bundles"
              },
              {
                "name": "__IMTINDEX__",
                "type": "uinteger",
                "label": "Bundle order position"
              },
              {
                "name": "__ROW_NUMBER__",
                "type": "number",
                "label": "Row number"
              },
              {
                "name": "__SPREADSHEET_ID__",
                "type": "text",
                "label": "Spreadsheet ID"
              },
              {
                "name": "__SHEET__",
                "type": "text",
                "label": "Sheet"
              },
              {
                "name": "0",
                "type": "text",
                "label": "Sourceurn (A)"
              },
              {
                "name": "1",
                "type": "text",
                "label": "text (B)"
              },
              {
                "name": "2",
                "type": "text",
                "label": "activityOfUser.lastName (C)"
              },
              {
                "name": "3",
                "type": "text",
                "label": "activityOfUser.occupation (D)"
              },
              {
                "name": "4",
                "type": "text",
                "label": "activityOfUser.id (E)"
              },
              {
                "name": "5",
                "type": "text",
                "label": "activityOfUser.publicId (F)"
              },
              {
                "name": "6",
                "type": "text",
                "label": "url (G)"
              },
              {
                "name": "7",
                "type": "text",
                "label": "postedAtTimestamp (H)"
              },
              {
                "name": "8",
                "type": "text",
                "label": "scheduled_post (I)"
              },
              {
                "name": "9",
                "type": "text",
                "label": "posted (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)"
              },
              {
                "name": "26",
                "type": "text",
                "label": "(AA)"
              },
              {
                "name": "27",
                "type": "text",
                "label": "(AB)"
              },
              {
                "name": "28",
                "type": "text",
                "label": "(AC)"
              },
              {
                "name": "29",
                "type": "text",
                "label": "(AD)"
              },
              {
                "name": "30",
                "type": "text",
                "label": "(AE)"
              },
              {
                "name": "31",
                "type": "text",
                "label": "(AF)"
              },
              {
                "name": "32",
                "type": "text",
                "label": "(AG)"
              },
              {
                "name": "33",
                "type": "text",
                "label": "(AH)"
              },
              {
                "name": "34",
                "type": "text",
                "label": "(AI)"
              },
              {
                "name": "35",
                "type": "text",
                "label": "(AJ)"
              },
              {
                "name": "36",
                "type": "text",
                "label": "(AK)"
              },
              {
                "name": "37",
                "type": "text",
                "label": "(AL)"
              },
              {
                "name": "38",
                "type": "text",
                "label": "(AM)"
              },
              {
                "name": "39",
                "type": "text",
                "label": "(AN)"
              },
              {
                "name": "40",
                "type": "text",
                "label": "(AO)"
              },
              {
                "name": "41",
                "type": "text",
                "label": "(AP)"
              },
              {
                "name": "42",
                "type": "text",
                "label": "(AQ)"
              },
              {
                "name": "43",
                "type": "text",
                "label": "(AR)"
              },
              {
                "name": "44",
                "type": "text",
                "label": "(AS)"
              },
              {
                "name": "45",
                "type": "text",
                "label": "(AT)"
              },
              {
                "name": "46",
                "type": "text",
                "label": "(AU)"
              },
              {
                "name": "47",
                "type": "text",
                "label": "(AV)"
              },
              {
                "name": "48",
                "type": "text",
                "label": "(AW)"
              },
              {
                "name": "49",
                "type": "text",
                "label": "(AX)"
              },
              {
                "name": "50",
                "type": "text",
                "label": "(AY)"
              },
              {
                "name": "51",
                "type": "text",
                "label": "(AZ)"
              },
              {
                "name": "52",
                "type": "text",
                "label": "(BA)"
              },
              {
                "name": "53",
                "type": "text",
                "label": "(BB)"
              },
              {
                "name": "54",
                "type": "text",
                "label": "(BC)"
              },
              {
                "name": "55",
                "type": "text",
                "label": "(BD)"
              },
              {
                "name": "56",
                "type": "text",
                "label": "(BE)"
              },
              {
                "name": "57",
                "type": "text",
                "label": "(BF)"
              },
              {
                "name": "58",
                "type": "text",
                "label": "(BG)"
              },
              {
                "name": "59",
                "type": "text",
                "label": "(BH)"
              },
              {
                "name": "60",
                "type": "text",
                "label": "(BI)"
              },
              {
                "name": "61",
                "type": "text",
                "label": "(BJ)"
              },
              {
                "name": "62",
                "type": "text",
                "label": "(BK)"
              },
              {
                "name": "63",
                "type": "text",
                "label": "(BL)"
              },
              {
                "name": "64",
                "type": "text",
                "label": "(BM)"
              },
              {
                "name": "65",
                "type": "text",
                "label": "(BN)"
              },
              {
                "name": "66",
                "type": "text",
                "label": "(BO)"
              },
              {
                "name": "67",
                "type": "text",
                "label": "(BP)"
              },
              {
                "name": "68",
                "type": "text",
                "label": "(BQ)"
              },
              {
                "name": "69",
                "type": "text",
                "label": "(BR)"
              },
              {
                "name": "70",
                "type": "text",
                "label": "(BS)"
              },
              {
                "name": "71",
                "type": "text",
                "label": "(BT)"
              },
              {
                "name": "72",
                "type": "text",
                "label": "(BU)"
              },
              {
                "name": "73",
                "type": "text",
                "label": "(BV)"
              },
              {
                "name": "74",
                "type": "text",
                "label": "(BW)"
              },
              {
                "name": "75",
                "type": "text",
                "label": "(BX)"
              },
              {
                "name": "76",
                "type": "text",
                "label": "(BY)"
              },
              {
                "name": "77",
                "type": "text",
                "label": "(BZ)"
              },
              {
                "name": "78",
                "type": "text",
                "label": "(CA)"
              },
              {
                "name": "79",
                "type": "text",
                "label": "(CB)"
              },
              {
                "name": "80",
                "type": "text",
                "label": "(CC)"
              },
              {
                "name": "81",
                "type": "text",
                "label": "(CD)"
              },
              {
                "name": "82",
                "type": "text",
                "label": "(CE)"
              },
              {
                "name": "83",
                "type": "text",
                "label": "(CF)"
              },
              {
                "name": "84",
                "type": "text",
                "label": "(CG)"
              },
              {
                "name": "85",
                "type": "text",
                "label": "(CH)"
              },
              {
                "name": "86",
                "type": "text",
                "label": "(CI)"
              },
              {
                "name": "87",
                "type": "text",
                "label": "(CJ)"
              },
              {
                "name": "88",
                "type": "text",
                "label": "(CK)"
              },
              {
                "name": "89",
                "type": "text",
                "label": "(CL)"
              },
              {
                "name": "90",
                "type": "text",
                "label": "(CM)"
              },
              {
                "name": "91",
                "type": "text",
                "label": "(CN)"
              },
              {
                "name": "92",
                "type": "text",
                "label": "(CO)"
              },
              {
                "name": "93",
                "type": "text",
                "label": "(CP)"
              },
              {
                "name": "94",
                "type": "text",
                "label": "(CQ)"
              },
              {
                "name": "95",
                "type": "text",
                "label": "(CR)"
              },
              {
                "name": "96",
                "type": "text",
                "label": "(CS)"
              },
              {
                "name": "97",
                "type": "text",
                "label": "(CT)"
              },
              {
                "name": "98",
                "type": "text",
                "label": "(CU)"
              },
              {
                "name": "99",
                "type": "text",
                "label": "(CV)"
              },
              {
                "name": "100",
                "type": "text",
                "label": "(CW)"
              },
              {
                "name": "101",
                "type": "text",
                "label": "(CX)"
              },
              {
                "name": "102",
                "type": "text",
                "label": "(CY)"
              },
              {
                "name": "103",
                "type": "text",
                "label": "(CZ)"
              }
            ],
            "parameters": [
              {
                "name": "__IMTCONN__",
                "type": "account:google",
                "label": "Connection",
                "required": true
              }
            ]
          },
          "parameters": {
            "__IMTCONN__": 3255629
          }
        },
        {
          "id": 12,
          "mapper": {
            "0": "{{11.`0`}}",
            "1": "{{11.`1`}}",
            "2": "{{11.`2`}}",
            "3": "{{11.`3`}}",
            "4": "{{11.`4`}}",
            "5": "{{11.`5`}}",
            "6": "{{11.`6`}}",
            "7": "{{11.`7`}}",
            "8": "{{11.`8`}}",
            "9": "{{11.`9`}}",
            "__SHEET__": "{{11.`__SHEET__`}}",
            "__IMTINDEX__": "{{11.`__IMTINDEX__`}}",
            "__IMTLENGTH__": "{{11.`__IMTLENGTH__`}}",
            "__ROW_NUMBER__": "{{11.`__ROW_NUMBER__`}}",
            "__SPREADSHEET_ID__": "{{11.`__SPREADSHEET_ID__`}}"
          },
          "module": "builtin:BasicAggregator",
          "version": 1,
          "metadata": {
            "restore": {
              "extra": {
                "feeder": {
                  "label": "Google Sheets - Search Rows [11]"
                },
                "target": {
                  "label": "Custom"
                }
              }
            },
            "designer": {
              "x": 2100,
              "y": 0
            }
          },
          "parameters": {
            "feeder": 11
          }
        },
        {
          "id": 13,
          "mapper": {
            "scope": "roundtrip",
            "variables": [
              {
                "name": "sortedScheduledPosts",
                "value": "{{sort(12.array; 8)}}"
              }
            ]
          },
          "module": "util:SetVariables",
          "version": 1,
          "metadata": {
            "expect": [
              {
                "name": "variables",
                "spec": [
                  {
                    "name": "name",
                    "type": "text",
                    "label": "Variable name",
                    "required": true
                  },
                  {
                    "name": "value",
                    "type": "any",
                    "label": "Variable value"
                  }
                ],
                "type": "array",
                "label": "Variables"
              },
              {
                "name": "scope",
                "type": "select",
                "label": "Variable lifetime",
                "required": true,
                "validate": {
                  "enum": [
                    "roundtrip",
                    "execution"
                  ]
                }
              }
            ],
            "restore": {
              "expect": {
                "scope": {
                  "label": "One cycle"
                },
                "variables": {
                  "items": [
                    null
                  ]
                }
              }
            },
            "designer": {
              "x": 2400,
              "y": 0,
              "name": "Sort Scheduled times"
            },
            "interface": [
              {
                "name": "sortedScheduledPosts",
                "type": "any",
                "label": "sortedScheduledPosts"
              }
            ]
          },
          "parameters": {}
        },
        {
          "id": 15,
          "mapper": {
            "scope": "roundtrip",
            "variables": [
              {
                "name": "latestScheduledPost",
                "value": "{{formatDate(addHours(parseDate(get(last(13.sortedScheduledPosts); 8); \"MM/D/YYYY HH:mm:ss\"); 1); \"MM/D/YYYY HH:mm:ss\")}}"
              }
            ]
          },
          "module": "util:SetVariables",
          "version": 1,
          "metadata": {
            "expect": [
              {
                "name": "variables",
                "spec": [
                  {
                    "name": "name",
                    "type": "text",
                    "label": "Variable name",
                    "required": true
                  },
                  {
                    "name": "value",
                    "type": "any",
                    "label": "Variable value"
                  }
                ],
                "type": "array",
                "label": "Variables"
              },
              {
                "name": "scope",
                "type": "select",
                "label": "Variable lifetime",
                "required": true,
                "validate": {
                  "enum": [
                    "roundtrip",
                    "execution"
                  ]
                }
              }
            ],
            "restore": {
              "expect": {
                "scope": {
                  "label": "One cycle"
                },
                "variables": {
                  "items": [
                    null
                  ]
                }
              }
            },
            "designer": {
              "x": 2700,
              "y": 0,
              "name": "Calculate New Scheduled Time"
            },
            "interface": [
              {
                "name": "latestScheduledPost",
                "type": "any",
                "label": "latestScheduledPost"
              }
            ]
          },
          "parameters": {}
        },
        {
          "id": 8,
          "mapper": {
            "from": "drive",
            "mode": "select",
            "values": {
              "0": "{{1.urn}}",
              "1": "{{7.result.post}}",
              "2": "{{1.activityOfUser.lastName}}",
              "3": "{{1.activityOfUser.occupation}}",
              "4": "{{1.activityOfUser.profileId}}",
              "5": "{{1.activityOfUser.profileId}}",
              "6": "{{1.url}}",
              "7": "{{1.postedAtTimestamp}}",
              "8": "{{15.latestScheduledPost}}",
              "9": "scheduled"
            },
            "sheetId": "Generated Post",
            "spreadsheetId": "/13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
            "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": "urn (A)"
                  },
                  {
                    "name": "1",
                    "type": "text",
                    "label": "text (B)"
                  },
                  {
                    "name": "2",
                    "type": "text",
                    "label": "activityOfUser.lastName (C)"
                  },
                  {
                    "name": "3",
                    "type": "text",
                    "label": "activityOfUser.occupation (D)"
                  },
                  {
                    "name": "4",
                    "type": "text",
                    "label": "activityOfUser.id (E)"
                  },
                  {
                    "name": "5",
                    "type": "text",
                    "label": "activityOfUser.publicId (F)"
                  },
                  {
                    "name": "6",
                    "type": "text",
                    "label": "url (G)"
                  },
                  {
                    "name": "7",
                    "type": "text",
                    "label": "postedAtTimestamp (H)"
                  },
                  {
                    "name": "8",
                    "type": "text",
                    "label": "postedAtISO (I)"
                  },
                  {
                    "name": "9",
                    "type": "text",
                    "label": "inputUrl (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": "Generated Post"
                },
                "spreadsheetId": {
                  "path": [
                    "LinkedIn Post"
                  ]
                },
                "includesHeaders": {
                  "label": "Yes",
                  "nested": [
                    {
                      "name": "values",
                      "spec": [
                        {
                          "name": "0",
                          "type": "text",
                          "label": "urn (A)"
                        },
                        {
                          "name": "1",
                          "type": "text",
                          "label": "text (B)"
                        },
                        {
                          "name": "2",
                          "type": "text",
                          "label": "activityOfUser.lastName (C)"
                        },
                        {
                          "name": "3",
                          "type": "text",
                          "label": "activityOfUser.occupation (D)"
                        },
                        {
                          "name": "4",
                          "type": "text",
                          "label": "activityOfUser.id (E)"
                        },
                        {
                          "name": "5",
                          "type": "text",
                          "label": "activityOfUser.publicId (F)"
                        },
                        {
                          "name": "6",
                          "type": "text",
                          "label": "url (G)"
                        },
                        {
                          "name": "7",
                          "type": "text",
                          "label": "postedAtTimestamp (H)"
                        },
                        {
                          "name": "8",
                          "type": "text",
                          "label": "postedAtISO (I)"
                        },
                        {
                          "name": "9",
                          "type": "text",
                          "label": "inputUrl (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 (a.hashage@gmail.com)"
                }
              }
            },
            "designer": {
              "x": 3000,
              "y": 0,
              "name": "Schedule Generated Post"
            },
            "parameters": [
              {
                "name": "__IMTCONN__",
                "type": "account:google",
                "label": "Connection",
                "required": true
              }
            ]
          },
          "parameters": {
            "__IMTCONN__": 3255629
          }
        }
      ],
      "name": "1. LinkedIn Scraping System: Generate Post (copy)",
      "metadata": {
        "instant": false,
        "version": 1,
        "designer": {
          "orphans": [],
          "samples": {
            "1": {
              "url": "https://www.linkedin.com/posts/theevancarroll_how-much-should-i-spend-on-ads-over-q4-activity-738172...",
              "urn": "urn:li:activity:7381725546713616384",
              "text": "\u201cHow much should I spend on ads over Q4?\u201d\n\nIf you\u2019ve ever asked yourself that, here\u2019s something for ...",
              "type": "image",
              "author": {
                "id": "830045863",
                "picture": "https://media.licdn.com/dms/image/v2/D4E35AQHGatiFevpjcA/profile-framedphoto-shrink_800_800/B4EZmmwx...",
                "lastName": "Carroll",
                "publicId": "theevancarroll",
                "firstName": "Evan",
                "profileId": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                "occupation": "HIRING Media Buyers & Creative Strategists - See My Featured Post For More Info! // Scaling DTC Bran...",
                "trackingId": "Fiu5uUNFT36gxOdnmidgjQ==",
                "backgroundImage": "https://media.licdn.com/dms/image/v2/D4E16AQEzny-8pbg32g/profile-displaybackgroundimage-shrink_200_8..."
              },
              "images": [
                "https://media.licdn.com/dms/image/v2/D4E22AQGaZ-WSS4MCHw/feedshare-shrink_1280/B4EZnEnotlKgAs-/0/175..."
              ],
              "canReact": true,
              "canShare": true,
              "comments": [],
              "inputUrl": "https://www.linkedin.com/in/theevancarroll/",
              "numLikes": 26,
              "shareUrn": "urn:li:share:7381725107955716096",
              "authorUrn": "urn:li:member:830045863",
              "numShares": 7,
              "reactions": [],
              "rootShare": true,
              "attributes": [
                {
                  "type": "PROFILE_MENTION",
                  "start": 1000,
                  "length": 4,
                  "company": {
                    "name": "Foreplay.co",
                    "active": true,
                    "logoUrl": "https://media.licdn.com/dms/image/v2/D560BAQEnk2k1O6YThw/company-logo_200_200/company-logo_200_200/0...",
                    "showcase": null,
                    "entityUrn": "urn:li:fs_miniCompany:77723284",
                    "trackingId": "zCEzEG+9Qs2ler1HbugKGQ==",
                    "universalName": "foreplayco"
                  },
                  "profile": {
                    "id": "1147497066",
                    "picture": "https://media.licdn.com/dms/image/v2/D4E03AQGDOpswZPptrA/profile-displayphoto-shrink_400_400/B4EZOyB...",
                    "lastName": "K.",
                    "publicId": "jackdoesecom",
                    "firstName": "Jack",
                    "profileId": "ACoAAERlamoBZIfHC4Jz2yCE7xQmZukPf0FASG0",
                    "occupation": "The Happiest Guy in eCommerce",
                    "trackingId": "Q/txZ8ZETqqaYdfiwDOBaw==",
                    "backgroundImage": "https://media.licdn.com/dms/image/v2/D4E16AQEgY5URmy5HXQ/profile-displaybackgroundimage-shrink_200_8..."
                  }
                }
              ],
              "authorName": "Evan Carroll",
              "authorType": "Person",
              "isActivity": true,
              "numComments": 40,
              "postedAtISO": "2025-10-08T16:21:56.165Z",
              "__IMTINDEX__": 1,
              "__IMTLENGTH__": 10,
              "shareAudience": "PUBLIC",
              "activityOfUser": {
                "id": "830045863",
                "picture": "https://media.licdn.com/dms/image/v2/D4E35AQHGatiFevpjcA/profile-framedphoto-shrink_800_800/B4EZmmwx...",
                "lastName": "Carroll",
                "publicId": "theevancarroll",
                "firstName": "Evan",
                "profileId": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                "occupation": "HIRING Media Buyers & Creative Strategists - See My Featured Post For More Info! // Scaling DTC Bran...",
                "trackingId": "Fiu5uUNFT36gxOdnmidgjQ==",
                "backgroundImage": "https://media.licdn.com/dms/image/v2/D4E16AQEzny-8pbg32g/profile-displaybackgroundimage-shrink_200_8..."
              },
              "authorHeadline": "HIRING Media Buyers & Creative Strategists - See My Featured Post For More Info! // Scaling DTC Bran...",
              "authorProfileId": "theevancarroll",
              "canPostComments": true,
              "timeSincePosted": "8h",
              "authorProfileUrl": "https://www.linkedin.com/in/theevancarroll?miniProfileUrn=urn%3Ali%3Afs_miniProfile%3AACoAADF5fqcBps...",
              "postedAtTimestamp": 1759940516165,
              "commentingDisabled": false,
              "activityDescription": "Evan Carroll reposted this",
              "authorProfilePicture": "https://media.licdn.com/dms/image/v2/D4E35AQHGatiFevpjcA/profile-framedphoto-shrink_800_800/B4EZmmwx...",
              "allowedCommentersScope": "ALL"
            },
            "3": {
              "id": "chatcmpl-COZzTIoOFnXBzfhRe0v7Kk8fEwSwb",
              "model": "gpt-5-mini-2025-08-07",
              "usage": {
                "total_tokens": 766,
                "prompt_tokens": 623,
                "completion_tokens": 143,
                "prompt_tokens_details": {
                  "audio_tokens": 0,
                  "cached_tokens": 0
                },
                "completion_tokens_details": {
                  "audio_tokens": 0,
                  "reasoning_tokens": 128,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "object": "chat.completion",
              "result": {
                "verdict": "personal"
              },
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": "{\"verdict\":\"personal\"}",
                    "refusal": null,
                    "annotations": []
                  },
                  "finish_reason": "stop"
                }
              ],
              "created": "2025-10-09T01:44:15.000Z",
              "service_tier": "default",
              "system_fingerprint": null
            },
            "4": {
              "updates": {
                "updatedRows": 1,
                "updatedCells": 25,
                "updatedRange": "'scrapped-post'!A3:Y3",
                "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
                "updatedColumns": 25
              },
              "rowNumber": 3,
              "sheetName": "scrapped-post",
              "tableRange": "'scrapped-post'!A1:Y2",
              "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw"
            },
            "5": {
              "__IMTLENGTH__": 0
            },
            "6": {
              "sanitisedPost": "{\"post\":\"\u201cHow much should I spend on ads over Q4?\u201d  If you\u2019ve ever asked yourself that, here\u2019s somet..."
            },
            "7": {
              "id": "chatcmpl-COZzgpXznXKItvIA9EDXXY3cGzTTe",
              "model": "gpt-5-2025-08-07",
              "usage": {
                "total_tokens": 2216,
                "prompt_tokens": 551,
                "completion_tokens": 1665,
                "prompt_tokens_details": {
                  "audio_tokens": 0,
                  "cached_tokens": 0
                },
                "completion_tokens_details": {
                  "audio_tokens": 0,
                  "reasoning_tokens": 1472,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "object": "chat.completion",
              "result": {
                "post": "You won't win with *paid ads* unless you do these 8 things:\n\n1. Hook in the first *3 seconds*.\n2. Ru..."
              },
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": "{\"post\":\"You won't win with *paid ads* unless you do these 8 things:\\n\\n1. Hook in the first *3 seco...",
                    "refusal": null,
                    "annotations": []
                  },
                  "finish_reason": "stop"
                }
              ],
              "created": "2025-10-09T01:44:28.000Z",
              "service_tier": "default",
              "system_fingerprint": null
            },
            "8": {
              "updates": {
                "updatedRows": 1,
                "updatedCells": 10,
                "updatedRange": "'Generated Post'!A4:J4",
                "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw",
                "updatedColumns": 10
              },
              "rowNumber": 4,
              "sheetName": "Generated Post",
              "tableRange": "'Generated Post'!A1:J3",
              "spreadsheetId": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw"
            },
            "11": {
              "0": "urn:li:activity:7381267250676412416",
              "1": "Features don\u2019t sell. *Outcomes* do.\n\u201c12 modules. 8 workbooks. 10 calls.\u201d *No one* buys that.\nPeople ...",
              "2": "",
              "3": "",
              "4": "",
              "5": "",
              "6": "https://www.linkedin.com/posts/ben-heath-marketing_features-dont-sell-outcomes-do-12-modules-activit...",
              "7": "1759831249875",
              "8": "10/9/2025 7:00:00",
              "9": "scheduled",
              "__SHEET__": "Generated Post",
              "__IMTINDEX__": 1,
              "__IMTLENGTH__": 2,
              "__ROW_NUMBER__": 2,
              "__SPREADSHEET_ID__": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw"
            },
            "12": {
              "array": [
                {
                  "0": "urn:li:activity:7380998360243130368",
                  "1": "Is it *risky* or just *unfamiliar*? Many label anything uncertain as *risk*. Yet *uncertainty \u2260 risk...",
                  "2": "Carroll",
                  "3": "HIRING Media Buyers & Creative Strategists - See My Featured Post For More Info! // Scaling DTC Bran...",
                  "4": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                  "5": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                  "6": "https://www.linkedin.com/posts/theevancarroll_is-it-really-risky-or-just-unfamiliar-for-activity-738...",
                  "7": "1759767141400",
                  "8": "10/9/2025 13:00:00",
                  "9": "scheduled",
                  "__SHEET__": "Generated Post",
                  "__IMTINDEX__": 2,
                  "__IMTLENGTH__": 2,
                  "__ROW_NUMBER__": 3,
                  "__SPREADSHEET_ID__": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw"
                }
              ],
              "__IMTAGGLENGTH__": 2
            },
            "13": {
              "sortedScheduledPosts": [
                {
                  "0": "urn:li:activity:7381267250676412416",
                  "1": "Features don\u2019t sell. *Outcomes* do.\n\u201c12 modules. 8 workbooks. 10 calls.\u201d *No one* buys that.\nPeople ...",
                  "2": "Carroll",
                  "3": "HIRING Media Buyers & Creative Strategists - See My Featured Post For More Info! // Scaling DTC Bran...",
                  "4": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                  "5": "ACoAADF5fqcBpsAgIwZcs1Kw0RCzmjoTUHdCgnc",
                  "6": "https://www.linkedin.com/posts/ben-heath-marketing_features-dont-sell-outcomes-do-12-modules-activit...",
                  "7": "1759831249875",
                  "8": "10/9/2025 7:00:00",
                  "9": "scheduled",
                  "__SHEET__": "Generated Post",
                  "__IMTINDEX__": 1,
                  "__IMTLENGTH__": 2,
                  "__ROW_NUMBER__": 2,
                  "__SPREADSHEET_ID__": "13kdIenbMf0opIUNKSQZ9CM2gvwtk1yX_Nuk9njBnMlw"
                }
              ]
            },
            "15": {
              "latestScheduledPost": "10/9/2025 08:00:00"
            }
          }
        },
        "scenario": {
          "dlq": false,
          "slots": null,
          "dataloss": false,
          "maxErrors": 3,
          "autoCommit": true,
          "roundtrips": 1,
          "sequential": false,
          "confidential": false,
          "freshVariables": false,
          "autoCommitTriggerLast": true
        }
      }
    },
    "scheduling": {
      "type": "indefinitely",
      "interval": 900
    },
    "concept": false,
    "created": "2025-10-09T01:39:57.062Z",
    "last_edit": "2025-10-09T01:50:36.460Z",
    "metadata": {
      "input_spec": [],
      "output_spec": []
    },
    "idSequence": 17
  }
}