{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "03C365BA-E157-43A7-9DC4-B0EEAF0A0452",
    "name": "Worklittle: apply for a candidate after review"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -29.510268562401265,
        "y": 14.723538704581358,
        "zoom": 0.63
      },
      "autoSave": false,
      "descriptions": {
        "flow": "Checks Worklittle job search once a day for new postings that match one candidate's saved search. An AI agent reads each posting against the candidate's profile; postings it passes on are logged with the reason in Google Sheets. For a fit, Worklittle starts the application with Hold for approval and fills the employer's form. The recruiter gets the filled fields and any open questions in Slack and picks Submit as filled, Use my reply (answers and corrections typed in the thread, sent with Answer Application Questions and Steer Application), or Stop it.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "Checks Worklittle job search once a day for a candidate's saved search, applies to the jobs that fit with Hold for approval, and asks the recruiter in Slack before anything is submitted.",
    "elements": [
      {
        "clientMetadata": {
          "notes": "Answers the questions of an application waiting at awaiting input, and sends it back to running.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::answerApplicationQuestions",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Answer the open questions Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::answerApplicationQuestions",
          "legacyElementId": null,
          "methodName": "answerApplicationQuestions",
          "position": {
            "x": 115,
            "y": 980
          }
        },
        "flowElementId": "38067C97-7333-4092-BFFF-417D0A122030",
        "groupId": null,
        "id": "DB179AA3-C07C-40B0-8C11-CF6F169CA474",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answers",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Reply",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "answers",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "25106E71-3446-42F2-B65B-3B543ACF1207"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "answerApplicationQuestions",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Answered",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Answer the open questions",
        "nextElementIds": [
          "0DBF95D5-6025-4A21-A005-BFE8A0840FEF"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "0813011d-dbc3-460a-8e47-d7673c024058"
          },
          "position": {
            "x": 1302,
            "y": 989
          }
        },
        "flowElementId": "EBA9A3C2-1900-4605-9E5D-25E4E8466739",
        "groupId": null,
        "id": "222097F7-B801-48D1-9A72-048F1BFBDD17",
        "metaInfo": {
          "bucketName": "Application",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "running"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "b2",
          "storeResult": true
        },
        "name": "Mark it filling again",
        "nextElementIds": [],
        "nextGroupIds": [
          "B12EE002-420E-463D-A2D9-7791C04D4720"
        ],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "notes": "Starts an application: Worklittle fills out and submits the employer's own form. Costs $0.20 per application once it reaches awaiting input, awaiting submit, completed or stopped; a test run is free. Follow it with Get Application Status.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::applyToJob",
          "isFirstElement": false,
          "dynamicOptionLabels": {
            "autoSubmit": {
              "false": "Hold for approval"
            }
          },
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Start the application Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::applyToJob",
          "legacyElementId": null,
          "methodName": "applyToJob",
          "position": {
            "x": 1302,
            "y": 210
          }
        },
        "flowElementId": "B0CDBC64-E74F-4ECE-BAF0-90CFA25F1825",
        "groupId": null,
        "id": "E3BE0C23-0399-404A-A0A7-87C50ACDF751",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "jobId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New job",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "6ED97DAC-5260-41DD-9D77-2E38DFE20D68"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "url",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "applicantId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Worklittle applicant",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Worklittle applicant"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "resumeFileUrl",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "resumeFileName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "resumeText",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "resumeId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "autoSubmit",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "false"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tailorResume",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "maxPerCompany",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "webhookUrl",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "test",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "idempotencyKey",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "job-"
                  },
                  {
                    "id": "RESULT",
                    "label": "New job",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "6ED97DAC-5260-41DD-9D77-2E38DFE20D68"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "-"
                  },
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Worklittle applicant",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Worklittle applicant"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "applyToJob",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Started",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Start the application",
        "nextElementIds": [
          "CA8AC4B3-0B40-4514-AC0C-97DB568CB5D0"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Returns the full posting for one job from Worklittle job search, including its plain-text description, deadline and keywords.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::getJob",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the posting Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::getJob",
          "legacyElementId": null,
          "methodName": "getJob",
          "position": {
            "x": 514,
            "y": 40
          }
        },
        "flowElementId": "59E48325-6A70-4B7A-82C3-E8A9C423C1A6",
        "groupId": null,
        "id": "95B7FE7F-0EF0-403E-B107-63322151B47F",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "jobId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New job",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "6ED97DAC-5260-41DD-9D77-2E38DFE20D68"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getJob",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Posting",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the posting",
        "nextElementIds": [
          "CB8F4981-2968-4C59-A26D-F276C7C87B45"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "ai-agent",
          "isFirstElement": false,
          "blockDefinitionId": "ai-agent",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the job against the candidate Result"
          },
          "tools": {},
          "position": {
            "x": 863,
            "y": 49
          }
        },
        "flowElementId": "14501238-C320-477C-A089-883CA501031B",
        "groupId": null,
        "id": "CB8F4981-2968-4C59-A26D-F276C7C87B45",
        "metaInfo": {
          "aiApiKey": null,
          "aiModel": "claude-sonnet-5",
          "aiProvider": "ANTHROPIC",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "dynamicAiApiKey": {
            "expression": [
              {
                "id": "PLACEHOLDER_DATA",
                "label": "Anthropic key",
                "subPathSegments": null,
                "type": "EXECUTION_CONTEXT_STATIC_DATA",
                "value": "Anthropic key"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "files": [],
          "forceParsedOutput": true,
          "langSmithSettings": {
            "enabled": false,
            "apiKey": null,
            "projectName": null,
            "label": "FlowRunner AI-Agent",
            "accountCluster": "US"
          },
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "messagesHistoryEnabled": false,
          "messagesHistoryLimit": 15,
          "onFailElemId": null,
          "resultAlias": "Job check",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "systemPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "You work for a placement agency and decide whether a new job posting is worth an application for one candidate. An application is billed once Worklittle starts filling the employer's form, so pass on anything that is not a real fit. You get the candidate's profile and the full posting. Reply with JSON only, with these fields:\napply: \"yes\" if the role, level, location or workplace type, salary and any hard requirements in the posting fit the profile; otherwise \"no\"\nreason: one sentence with the main reason for your call\nfit: one sentence for the recruiter on why the job fits the candidate; empty text when apply is \"no\"\ncandidateName: the candidate's name from the profile"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "tools": [],
          "type": "AI_AGENT",
          "userPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "Candidate profile:\n"
              },
              {
                "id": "PLACEHOLDER_DATA",
                "label": "Candidate profile",
                "subPathSegments": null,
                "type": "EXECUTION_CONTEXT_STATIC_DATA",
                "value": "Candidate profile"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\n\nJob posting:\n"
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Posting",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "95B7FE7F-0EF0-403E-B107-63322151B47F"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "Check the job against the candidate",
        "nextElementIds": [
          "40F73E17-C743-40CB-806E-0F54A2553396"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "ai-agent",
          "isFirstElement": false,
          "blockDefinitionId": "ai-agent",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Turn the reply into answers Result"
          },
          "tools": {},
          "position": {
            "x": 491,
            "y": 689
          }
        },
        "flowElementId": "9FD762CD-A4A6-4275-A25B-D021C190AFD8",
        "groupId": null,
        "id": "25106E71-3446-42F2-B65B-3B543ACF1207",
        "metaInfo": {
          "aiApiKey": null,
          "aiModel": "claude-sonnet-5",
          "aiProvider": "ANTHROPIC",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "dynamicAiApiKey": {
            "expression": [
              {
                "id": "PLACEHOLDER_DATA",
                "label": "Anthropic key",
                "subPathSegments": null,
                "type": "EXECUTION_CONTEXT_STATIC_DATA",
                "value": "Anthropic key"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "files": [],
          "forceParsedOutput": true,
          "langSmithSettings": {
            "enabled": false,
            "apiKey": null,
            "projectName": null,
            "label": "FlowRunner AI-Agent",
            "accountCluster": "US"
          },
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "messagesHistoryEnabled": false,
          "messagesHistoryLimit": 15,
          "onFailElemId": null,
          "resultAlias": "Reply",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "systemPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "A recruiter replied in a Slack thread about a job application that Worklittle filled and is holding for approval. You get the open questions from the employer's form (each with a key and a label), the fields Worklittle already filled, and the thread. Ignore messages posted by bots. Reply with JSON only, with these fields:\nanswers: an object that maps the key of each open question the recruiter answered to the answer as text; {} if they answered none\nhasAnswers: \"yes\" if answers has at least one entry, otherwise \"no\"\ncorrections: the recruiter's changes to fields already filled, written as plain instructions to Worklittle, for example \"Set the notice period to one month.\"; empty text if none\nhasCorrections: \"yes\" if there are corrections, otherwise \"no\"\nNever invent an answer or a change the recruiter did not give."
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "tools": [],
          "type": "AI_AGENT",
          "userPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "Open questions:\n"
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Filled form",
                "subPathSegments": [
                  {
                    "key": "session",
                    "optional": false
                  },
                  {
                    "key": "questions",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "13F06060-92A8-421F-B10D-11A612177030"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\n\nFields already filled:\n"
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Filled form",
                "subPathSegments": [
                  {
                    "key": "session",
                    "optional": false
                  },
                  {
                    "key": "filled_fields",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "13F06060-92A8-421F-B10D-11A612177030"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\n\nThread:\n"
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Thread",
                "subPathSegments": null,
                "type": "ELEMENT_LINK",
                "value": "F0A785FD-F8DD-45C1-899D-85F06FA47431"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "Turn the reply into answers",
        "nextElementIds": [
          "D447CCFF-8A3B-44AC-8F0A-6F482230FE2B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1302,
            "y": 49
          }
        },
        "flowElementId": "09E6B702-A3BF-407D-B029-4F17D5C15E3E",
        "groupId": null,
        "id": "40F73E17-C743-40CB-806E-0F54A2553396",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "f711f8e0-06f0-4c44-bae8-d0f592a1249b",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Job check",
                      "subPathSegments": [
                        {
                          "key": "output",
                          "optional": false
                        },
                        {
                          "key": "apply",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "CB8F4981-2968-4C59-A26D-F276C7C87B45"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "yes"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "f711f8e0-06f0-4c44-bae8-d0f592a1249b"
            ]
          },
          "elseComponent": {
            "componentId": "76CABD50-1F9E-449B-9131-CF6B714B52DA",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Worth applying",
          "storeResult": false,
          "thenComponent": {
            "componentId": "E3BE0C23-0399-404A-A0A7-87C50ACDF751",
            "componentType": "ELEMENT"
          }
        },
        "name": "Worth applying?",
        "nextElementIds": [
          "76CABD50-1F9E-449B-9131-CF6B714B52DA",
          "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Changes what a running, awaiting input or awaiting submit application fills in, without stopping it.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::steerApplication",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Steer the application Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::steerApplication",
          "legacyElementId": null,
          "methodName": "steerApplication",
          "position": {
            "x": 914,
            "y": 980
          }
        },
        "flowElementId": "917DA26E-73B0-4594-949E-14153B034945",
        "groupId": null,
        "id": "1471A046-5257-422F-A7D1-B0092C1F53D1",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "instructions",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Reply",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "corrections",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "25106E71-3446-42F2-B65B-3B543ACF1207"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "steerApplication",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Steered",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Steer the application",
        "nextElementIds": [
          "222097F7-B801-48D1-9A72-048F1BFBDD17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires for each new job in Worklittle job search that matches the filters, among jobs posted in the last day. Every job returned counts toward the free monthly search quota (1,000 a month on a personal key), so narrow the filters.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::onNewMatchingJob",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::worklittle:::onNewMatchingJob",
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::onNewMatchingJob",
          "legacyElementId": null,
          "methodName": "onNewMatchingJob",
          "position": {
            "x": 138,
            "y": 40
          }
        },
        "flowElementId": "BE2E54DD-4A08-404B-BF8B-A519BF758F71",
        "groupId": null,
        "id": "6ED97DAC-5260-41DD-9D77-2E38DFE20D68",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewMatchingJob",
          "frequency": {
            "repeat": {
              "every": 1
            },
            "schedule": "daily"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "New job",
          "serviceId": "worklittle",
          "slaConditions": [],
          "staticData": {
            "title": [
              "Data Analyst"
            ],
            "seniorityLevel": [
              "senior"
            ],
            "country": "US",
            "salaryMin": 110000
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "New matching job",
        "nextElementIds": [
          "95B7FE7F-0EF0-403E-B107-63322151B47F"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "wait",
          "isFirstElement": true,
          "blockDefinitionId": "wait",
          "mode": "SIMPLE",
          "position": {
            "x": 110,
            "y": 459
          }
        },
        "flowElementId": "38D1EF04-513F-4E4F-A6DC-B0462F5F92CB",
        "groupId": "E344F6E4-C7A0-4D06-A9D2-12D24DDC37ED",
        "id": "7B29035D-B006-4678-9541-45F2C3F376B5",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "delay": {
            "expression": [
              {
                "id": "NUMBER",
                "label": null,
                "type": "INPUT",
                "value": 20
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": "DOUBLE"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "w1",
          "storeResult": true
        },
        "name": "Give it 20 seconds",
        "nextElementIds": [
          "11AC3F0B-B93D-4233-8CF0-6B8EED166FBF"
        ],
        "nextGroupIds": [],
        "type": "WAIT"
      },
      {
        "clientMetadata": {
          "notes": "Submits an application held at awaiting submit (or awaiting input). It then moves to completed or failed.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::approveApplicationSubmission",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Submit the application Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::approveApplicationSubmission",
          "legacyElementId": null,
          "methodName": "approveApplicationSubmission",
          "position": {
            "x": 909,
            "y": 1150
          }
        },
        "flowElementId": "E1433A5E-1405-4280-821B-42A0728F302C",
        "groupId": null,
        "id": "C751F137-9600-49D2-B427-F71A451E9F53",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "approveApplicationSubmission",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Submitted",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Submit the application",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "wait",
          "isFirstElement": true,
          "blockDefinitionId": "wait",
          "mode": "SIMPLE",
          "position": {
            "x": 110,
            "y": 639
          }
        },
        "flowElementId": "25B98E68-B1AA-4141-94DF-BE6E6260287C",
        "groupId": "B12EE002-420E-463D-A2D9-7791C04D4720",
        "id": "A6965618-A6E9-4E67-BC51-BE382C37742E",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "delay": {
            "expression": [
              {
                "id": "NUMBER",
                "label": null,
                "type": "INPUT",
                "value": 20
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": "DOUBLE"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "w2",
          "storeResult": true
        },
        "name": "Give it another 20 seconds",
        "nextElementIds": [
          "73200F27-30B7-437F-8FD6-053B11F2BB4D"
        ],
        "nextGroupIds": [],
        "type": "WAIT"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 1268,
            "y": 389
          }
        },
        "flowElementId": "C500A5C7-1108-4967-97A2-19626290AB3C",
        "groupId": null,
        "id": "FCBA8566-BBBA-43E2-9F7E-E42F25E08F2B",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "Recruiter answer",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for the recruiter's answer",
        "nextElementIds": [
          "73F4C045-DCE0-4359-98E9-C01CA0B83CC6"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 134,
            "y": 689
          }
        },
        "flowElementId": "AF2C1902-0FA6-4D6E-B3F0-4DFA3283E33C",
        "groupId": null,
        "id": "D447CCFF-8A3B-44AC-8F0A-6F482230FE2B",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "73ac0fe1-86c2-4439-a8ce-68e86d971086",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Reply",
                      "subPathSegments": [
                        {
                          "key": "output",
                          "optional": false
                        },
                        {
                          "key": "hasAnswers",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "25106E71-3446-42F2-B65B-3B543ACF1207"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "yes"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "73ac0fe1-86c2-4439-a8ce-68e86d971086"
            ]
          },
          "elseComponent": {
            "componentId": "0DBF95D5-6025-4A21-A005-BFE8A0840FEF",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Questions to answer",
          "storeResult": false,
          "thenComponent": {
            "componentId": "DB179AA3-C07C-40B0-8C11-CF6F169CA474",
            "componentType": "ELEMENT"
          }
        },
        "name": "Questions to answer?",
        "nextElementIds": [
          "DB179AA3-C07C-40B0-8C11-CF6F169CA474",
          "0DBF95D5-6025-4A21-A005-BFE8A0840FEF"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Adds new data rows to Google Sheets for AI agents to store processed results, log user interactions, or collect data from automated workflows. Perfect for building databases, tracking metrics, saving form submissions, or creating data collection pipelines.",
          "elementId": "EXTENSION:::SHARED:::default:::google-sheets:::addRow",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Log the skipped job Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::google-sheets:::addRow",
          "legacyElementId": "JS###v1###GoogleSheets###addRow",
          "methodName": "addRow",
          "position": {
            "x": 1947,
            "y": 40
          }
        },
        "flowElementId": "CFC3BD47-CC15-4A9B-96FF-434B4EE163D9",
        "groupId": null,
        "id": "F903BCCB-0CB3-485F-98EC-2EEEE04F7B91",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "documentId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Skipped jobs sheet",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Skipped jobs sheet"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sheetId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "row",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Skip row",
                    "subPathSegments": null,
                    "type": "ELEMENT_LINK",
                    "value": "76CABD50-1F9E-449B-9131-CF6B714B52DA"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "addRow",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Skipped job row",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "google-sheets",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Log the skipped job",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the skipped row Result"
          },
          "position": {
            "x": 1636,
            "y": 49
          }
        },
        "flowElementId": "4B2DF4C3-B29E-4014-B432-056ADA99F17C",
        "groupId": null,
        "id": "76CABD50-1F9E-449B-9131-CF6B714B52DA",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "job",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Posting",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "95B7FE7F-0EF0-403E-B107-63322151B47F"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "check",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Job check",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CB8F4981-2968-4C59-A26D-F276C7C87B45"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "return {\n  Date: new Date().toISOString().slice(0, 10),\n  Candidate: (check && check.candidateName) || '',\n  Job: (job && job.title) || '',\n  Company: (job && job.company && job.company.name) || '',\n  Location: ((job && job.locations) || []).join('; '),\n  Link: (job && (job.apply_url || job.job_description_url)) || '',\n  Reason: (check && check.reason) || '',\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Skip row",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the skipped row",
        "nextElementIds": [
          "F903BCCB-0CB3-485F-98EC-2EEEE04F7B91"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "78122cc5-0a20-41c1-9095-4b4c7db7782e"
          },
          "position": {
            "x": 719,
            "y": 459
          }
        },
        "flowElementId": "3A71484E-3733-4362-874A-136805AF91CE",
        "groupId": "E344F6E4-C7A0-4D06-A9D2-12D24DDC37ED",
        "id": "B1B4BBD9-DD5E-499E-B262-539DD853C923",
        "metaInfo": {
          "bucketName": "Application",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Status check",
                    "subPathSegments": [
                      {
                        "key": "session",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "11AC3F0B-B93D-4233-8CF0-6B8EED166FBF"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "b1b",
          "storeResult": true
        },
        "name": "Update the status",
        "nextElementIds": [],
        "nextGroupIds": [],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 138,
            "y": 389
          }
        },
        "flowElementId": "9A18AFEF-D0CD-4278-9867-E4B58BE1C38E",
        "groupId": null,
        "id": "B0C0C493-EB41-498F-9E99-3D8D26CC3566",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "39e49276-1852-4bc1-aaf9-5fc07101463e",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Filled form",
                      "subPathSegments": [
                        {
                          "key": "session",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "13F06060-92A8-421F-B10D-11A612177030"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "awaiting_submit"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "efaa575a-d6ed-40a5-aadc-15c9e71ba1f4",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Filled form",
                      "subPathSegments": [
                        {
                          "key": "session",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "13F06060-92A8-421F-B10D-11A612177030"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "awaiting_input"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "39e49276-1852-4bc1-aaf9-5fc07101463e",
              "OR",
              "efaa575a-d6ed-40a5-aadc-15c9e71ba1f4"
            ]
          },
          "elseComponent": {
            "componentId": "6F801E6E-135E-4E36-9723-985867DA1564",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Held for review",
          "storeResult": false,
          "thenComponent": {
            "componentId": "A559A82C-4A50-4A7C-8E8B-65E5B4CEFBE1",
            "componentType": "ELEMENT"
          }
        },
        "name": "Held for review?",
        "nextElementIds": [
          "A559A82C-4A50-4A7C-8E8B-65E5B4CEFBE1",
          "6F801E6E-135E-4E36-9723-985867DA1564"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Tell the recruiter it ended Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 497,
            "y": 510
          }
        },
        "flowElementId": "9DE2861A-C5BD-4451-94AF-2BA0016BCF9B",
        "groupId": null,
        "id": "6F801E6E-135E-4E36-9723-985867DA1564",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Job check",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "candidateName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CB8F4981-2968-4C59-A26D-F276C7C87B45"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ": the application for "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Posting",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "95B7FE7F-0EF0-403E-B107-63322151B47F"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " at "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Posting",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "company",
                        "optional": false
                      },
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "95B7FE7F-0EF0-403E-B107-63322151B47F"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " ended as "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Filled form",
                    "subPathSegments": [
                      {
                        "key": "session",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13F06060-92A8-421F-B10D-11A612177030"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " before it reached review. "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Filled form",
                    "subPathSegments": [
                      {
                        "key": "next_step",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13F06060-92A8-421F-B10D-11A612177030"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Ended note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Tell the recruiter it ended",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the question for the recruiter Result"
          },
          "position": {
            "x": 465,
            "y": 389
          }
        },
        "flowElementId": "20BBBE18-507F-428D-878D-93B2F72C5126",
        "groupId": null,
        "id": "A559A82C-4A50-4A7C-8E8B-65E5B4CEFBE1",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "candidate",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Job check",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "candidateName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CB8F4981-2968-4C59-A26D-F276C7C87B45"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fit",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Job check",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "fit",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CB8F4981-2968-4C59-A26D-F276C7C87B45"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "job",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Posting",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "95B7FE7F-0EF0-403E-B107-63322151B47F"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "form",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Filled form",
                    "subPathSegments": null,
                    "type": "ELEMENT_LINK",
                    "value": "13F06060-92A8-421F-B10D-11A612177030"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answerLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Answer link",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Answer link"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "executionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_ID",
                    "label": null,
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.executionId",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "executionId",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const link = (decision) => `${answerLink}?execution=${encodeURIComponent(executionId)}&decision=${decision}`;\nconst s = (form && form.session) || {};\nconst company = (job.company && job.company.name) || 'the employer';\nconst posted = job.posted_at ? `, posted ${String(job.posted_at).slice(0, 10)}` : '';\nconst filled = (s.filled_fields || []).slice(0, 15).map(f => `• ${f.label}: ${f.value}`);\nconst questions = (s.questions || []).map(q => `• ${q.label}${q.required ? ' (required)' : ''}`);\nconst posting = s.apply_url || job.apply_url;\nconst lines = [\n  `*${candidate}: ${job.title} at ${company}*${posted}`,\n  fit ? `Why it fits: ${fit}` : null,\n  `Worklittle filled the employer's form and is holding it for your approval.${posting ? ` <${posting}|Open the posting>` : ''}`,\n  filled.length ? `*Filled in*\\n${filled.join('\\n')}` : null,\n  questions.length ? `*Questions the profile does not answer*\\n${questions.join('\\n')}` : 'No open questions.',\n  'To give answers or change a field, reply in this thread first, then click Use my reply.',\n].filter(Boolean);\nconst body = lines.join('\\n\\n').slice(0, 2900);\nreturn {\n  text: `${candidate}: ${job.title} at ${company} is ready for your approval`,\n  blocks: [\n    { type: 'section', text: { type: 'mrkdwn', text: body } },\n    { type: 'actions', elements: [\n      { type: 'button', style: 'primary', text: { type: 'plain_text', text: 'Submit as filled' }, url: link('submit') },\n      { type: 'button', text: { type: 'plain_text', text: 'Use my reply' }, url: link('reply') },\n      { type: 'button', style: 'danger', text: { type: 'plain_text', text: 'Stop it' }, url: link('stop') },\n    ] },\n  ],\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Recruiter card",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the question for the recruiter",
        "nextElementIds": [
          "3F25C38A-B53E-469C-ACB0-9273EB8FEF64"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "e848f8f3-03a0-46b4-b25f-a09e0ea0d84d"
          },
          "position": {
            "x": 803,
            "y": 639
          }
        },
        "flowElementId": "EC39AAB4-652B-469E-B00C-97833E5E9C38",
        "groupId": "B12EE002-420E-463D-A2D9-7791C04D4720",
        "id": "E151DEBE-142C-45BD-826A-8B493959B89D",
        "metaInfo": {
          "bucketName": "Application",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Status recheck",
                    "subPathSegments": [
                      {
                        "key": "session",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73200F27-30B7-437F-8FD6-053B11F2BB4D"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "b2b",
          "storeResult": true
        },
        "name": "Update the status again",
        "nextElementIds": [],
        "nextGroupIds": [],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "elementId": "router",
          "isFirstElement": false,
          "blockDefinitionId": "router",
          "casesViewMode": {
            "e29e3cf6-7bd3-4224-96f2-722cb3e55250": "SIMPLE",
            "2d6d47bd-1ddf-4f9c-8b2c-83ecc1063f19": "SIMPLE",
            "721b91f0-9713-43fb-83ec-d49536a2515f": "SIMPLE"
          },
          "position": {
            "x": 1277,
            "y": 689
          }
        },
        "flowElementId": "88601341-BAB9-4BA9-B571-3E0CD37189FA",
        "groupId": null,
        "id": "73F4C045-DCE0-4359-98E9-C01CA0B83CC6",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Recruiter pick",
          "storeResult": true,
          "switchCases": [
            {
              "defaultCase": false,
              "id": "e29e3cf6-7bd3-4224-96f2-722cb3e55250",
              "label": "Submit as filled",
              "nextComponents": [
                {
                  "componentId": "C751F137-9600-49D2-B427-F71A451E9F53",
                  "componentType": "ELEMENT"
                }
              ],
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "submit"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "defaultCase": false,
              "id": "2d6d47bd-1ddf-4f9c-8b2c-83ecc1063f19",
              "label": "Use my reply",
              "nextComponents": [
                {
                  "componentId": "F0A785FD-F8DD-45C1-899D-85F06FA47431",
                  "componentType": "ELEMENT"
                }
              ],
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "reply"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "defaultCase": false,
              "id": "721b91f0-9713-43fb-83ec-d49536a2515f",
              "label": "Stop it",
              "nextComponents": [
                {
                  "componentId": "EACB4556-4511-4EF9-8343-3E5E9F0B4CB0",
                  "componentType": "ELEMENT"
                }
              ],
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "stop"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "defaultCase": true,
              "id": "df9933b7-c41b-4373-b7c4-390ab526f6c3",
              "label": "Everything Else",
              "nextComponents": [],
              "type": "SIMPLE",
              "value": null
            }
          ],
          "switchExpression": {
            "expression": [
              {
                "id": "RESULT",
                "label": "Recruiter answer",
                "subPathSegments": [
                  {
                    "key": "decision",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "FCBA8566-BBBA-43E2-9F7E-E42F25E08F2B"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "What did the recruiter pick?",
        "nextElementIds": [
          "F0A785FD-F8DD-45C1-899D-85F06FA47431",
          "EACB4556-4511-4EF9-8343-3E5E9F0B4CB0",
          "C751F137-9600-49D2-B427-F71A451E9F53"
        ],
        "nextGroupIds": [],
        "type": "VALUE_ROUTER"
      },
      {
        "clientMetadata": {
          "notes": "Retrieves the latest 1000 messages from a specific thread in a Slack channel.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::getLatestThreadMessages",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the recruiter's reply Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::getLatestThreadMessages",
          "legacyElementId": "JS###v1###Slack###getLatestThreadMessages",
          "methodName": "getLatestThreadMessages",
          "position": {
            "x": 899,
            "y": 680
          }
        },
        "flowElementId": "EF7FFA10-5903-45AC-9A1A-EB2F74E14602",
        "groupId": null,
        "id": "F0A785FD-F8DD-45C1-899D-85F06FA47431",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to recruiter",
                    "subPathSegments": [
                      {
                        "key": "channelId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "3F25C38A-B53E-469C-ACB0-9273EB8FEF64"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to recruiter",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "3F25C38A-B53E-469C-ACB0-9273EB8FEF64"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getLatestThreadMessages",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Thread",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the recruiter's reply",
        "nextElementIds": [
          "25106E71-3446-42F2-B65B-3B543ACF1207"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Returns the current state of one application started with Apply to Job: its status, the fields filled, the questions waiting for an answer and the next step.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the application Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "legacyElementId": null,
          "methodName": "getApplicationStatus",
          "position": {
            "x": 410,
            "y": 450
          }
        },
        "flowElementId": "419A7DB8-F3C2-4692-965B-AC627C787E3C",
        "groupId": "E344F6E4-C7A0-4D06-A9D2-12D24DDC37ED",
        "id": "11AC3F0B-B93D-4233-8CF0-6B8EED166FBF",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getApplicationStatus",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Status check",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Check the application",
        "nextElementIds": [
          "B1B4BBD9-DD5E-499E-B262-539DD853C923"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Ends an application without submitting it. A stop after filling started is charged as one application; a stop before anything is filled in is free.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::stopApplication",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Stop the application Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::stopApplication",
          "legacyElementId": null,
          "methodName": "stopApplication",
          "position": {
            "x": 916,
            "y": 810
          }
        },
        "flowElementId": "E032FEB5-77E5-4B9B-90FF-413EE47B65A2",
        "groupId": null,
        "id": "EACB4556-4511-4EF9-8343-3E5E9F0B4CB0",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "stopApplication",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Stopped",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Stop the application",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "80c7ec7e-74c1-4818-b227-7e6d9ddcc80c"
          },
          "position": {
            "x": 916,
            "y": 219
          }
        },
        "flowElementId": "E6B6370E-29CA-488F-B5C9-D245F54AFA01",
        "groupId": null,
        "id": "CA8AC4B3-0B40-4514-AC0C-97DB568CB5D0",
        "metaInfo": {
          "bucketName": "Application",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "b1",
          "storeResult": true
        },
        "name": "Note the status",
        "nextElementIds": [],
        "nextGroupIds": [
          "E344F6E4-C7A0-4D06-A9D2-12D24DDC37ED"
        ],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "notes": "Returns the current state of one application started with Apply to Job: its status, the fields filled, the questions waiting for an answer and the next step.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the application again Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "legacyElementId": null,
          "methodName": "getApplicationStatus",
          "position": {
            "x": 454,
            "y": 630
          }
        },
        "flowElementId": "9FBC075A-77DF-44C7-9D2F-C1B01ADB220B",
        "groupId": "B12EE002-420E-463D-A2D9-7791C04D4720",
        "id": "73200F27-30B7-437F-8FD6-053B11F2BB4D",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getApplicationStatus",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Status recheck",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Check the application again",
        "nextElementIds": [
          "E151DEBE-142C-45BD-826A-8B493959B89D"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Ask the recruiter Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 916,
            "y": 380
          }
        },
        "flowElementId": "B55B629B-168D-42B1-B062-2C2268A7DD0A",
        "groupId": null,
        "id": "3F25C38A-B53E-469C-ACB0-9273EB8FEF64",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Recruiter card",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "A559A82C-4A50-4A7C-8E8B-65E5B4CEFBE1"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Recruiter card",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "A559A82C-4A50-4A7C-8E8B-65E5B4CEFBE1"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Question to recruiter",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Ask the recruiter",
        "nextElementIds": [
          "FCBA8566-BBBA-43E2-9F7E-E42F25E08F2B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Returns the current state of one application started with Apply to Job: its status, the fields filled, the questions waiting for an answer and the next step.",
          "elementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read what Worklittle filled in Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::worklittle:::getApplicationStatus",
          "legacyElementId": null,
          "methodName": "getApplicationStatus",
          "position": {
            "x": 110,
            "y": 210
          }
        },
        "flowElementId": "40A44A67-06AC-42A0-ACA8-0C082D76E559",
        "groupId": null,
        "id": "13F06060-92A8-421F-B10D-11A612177030",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "sessionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Started",
                    "subPathSegments": [
                      {
                        "key": "session_id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3BE0C23-0399-404A-A0A7-87C50ACDF751"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getApplicationStatus",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Filled form",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "worklittle",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read what Worklittle filled in",
        "nextElementIds": [
          "B0C0C493-EB41-498F-9E99-3D8D26CC3566"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 511,
            "y": 989
          }
        },
        "flowElementId": "BFA06E17-7386-4740-AFE2-2A2FC39AE9B8",
        "groupId": null,
        "id": "0DBF95D5-6025-4A21-A005-BFE8A0840FEF",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "6e0f38e1-8467-4a19-92ce-b3fc3366ae74",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Reply",
                      "subPathSegments": [
                        {
                          "key": "output",
                          "optional": false
                        },
                        {
                          "key": "hasCorrections",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "25106E71-3446-42F2-B65B-3B543ACF1207"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "yes"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "6e0f38e1-8467-4a19-92ce-b3fc3366ae74"
            ]
          },
          "elseComponent": {
            "componentId": "222097F7-B801-48D1-9A72-048F1BFBDD17",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Corrections to make",
          "storeResult": false,
          "thenComponent": {
            "componentId": "1471A046-5257-422F-A7D1-B0092C1F53D1",
            "componentType": "ELEMENT"
          }
        },
        "name": "Corrections to make?",
        "nextElementIds": [
          "1471A046-5257-422F-A7D1-B0092C1F53D1",
          "222097F7-B801-48D1-9A72-048F1BFBDD17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      }
    ],
    "firstElementId": "6ED97DAC-5260-41DD-9D77-2E38DFE20D68",
    "groups": [
      {
        "clientMetadata": {
          "elementId": "repeat",
          "isFirstElement": false,
          "blockDefinitionId": "repeat",
          "viewport": {
            "x": -70,
            "y": -590,
            "zoom": 1
          },
          "position": {
            "x": 1302,
            "y": 1159
          }
        },
        "flowElementId": "08F810CD-8A7B-4C21-831E-7983CF92863D",
        "groupId": null,
        "id": "B12EE002-420E-463D-A2D9-7791C04D4720",
        "loopType": "REPEAT",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "67826b11-98a5-4bbf-b516-6ea5abbabe05",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Application - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Application.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Application",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "running"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "0954bb31-0bd5-494f-900a-89f1068796e1",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Application - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Application.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Application",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "queued"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "67826b11-98a5-4bbf-b516-6ea5abbabe05",
              "OR",
              "0954bb31-0bd5-494f-900a-89f1068796e1"
            ]
          },
          "enabled": true,
          "firstElementId": "A6965618-A6E9-4E67-BC51-BE382C37742E",
          "maxIterations": 90,
          "onFailElemId": null,
          "resultAlias": "loop2",
          "storeResult": true
        },
        "name": "Until it is held again",
        "nextElementIds": [
          "C751F137-9600-49D2-B427-F71A451E9F53"
        ],
        "nextGroupIds": [],
        "type": "LOOP"
      },
      {
        "clientMetadata": {
          "elementId": "repeat",
          "isFirstElement": false,
          "blockDefinitionId": "repeat",
          "viewport": {
            "x": -70,
            "y": -410,
            "zoom": 1
          },
          "position": {
            "x": 511,
            "y": 219
          }
        },
        "flowElementId": "66E225D6-262D-4D63-B4D7-A338EC161D63",
        "groupId": null,
        "id": "E344F6E4-C7A0-4D06-A9D2-12D24DDC37ED",
        "loopType": "REPEAT",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "83161bf1-3b1d-4330-a2b3-8c151c4deb86",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Application - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Application.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Application",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "running"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "96c7101a-f044-4828-a307-7d876de49eb6",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Application - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Application.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Application",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "queued"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "83161bf1-3b1d-4330-a2b3-8c151c4deb86",
              "OR",
              "96c7101a-f044-4828-a307-7d876de49eb6"
            ]
          },
          "enabled": true,
          "firstElementId": "7B29035D-B006-4678-9541-45F2C3F376B5",
          "maxIterations": 90,
          "onFailElemId": null,
          "resultAlias": "loop1",
          "storeResult": true
        },
        "name": "Until the form is filled",
        "nextElementIds": [
          "13F06060-92A8-421F-B10D-11A612177030"
        ],
        "nextGroupIds": [],
        "type": "LOOP"
      }
    ],
    "id": "08F97FCF-E35C-49B8-AB86-EEB0CAC683B1",
    "metaInfo": {
      "clientValidationState": {
        "errorMessage": null,
        "valid": true
      },
      "errorMessage": null,
      "executionStaticData": [
        {
          "description": "Your Anthropic key, for the two AI steps.",
          "error": null,
          "name": "Anthropic key",
          "type": "API_KEY",
          "value": null
        },
        {
          "description": "The candidate's profile in plain words: name, current role, experience, skills, the roles they want, locations and workplace types they accept, salary floor, and any hard limits such as visa needs.",
          "error": null,
          "name": "Candidate profile",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "The candidate's saved applicant ID in Worklittle (the applicant_id from their first application).",
          "error": null,
          "name": "Worklittle applicant",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "URL or ID of the Google Sheet where postings the agent passed on are logged.",
          "error": null,
          "name": "Skipped jobs sheet",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "The URL of the block Wait for the recruiter's answer. The Slack buttons open it.",
          "error": null,
          "name": "Answer link",
          "type": "STRING",
          "value": ""
        }
      ],
      "initialData": null,
      "initialDataDefaultValues": {},
      "ownerFlowVersionId": null,
      "schedule": null,
      "sharedMemory": {
        "anchor": {
          "missingAnchorPolicy": null,
          "path": null,
          "type": "FLOW_MEMORY"
        },
        "expirationInSec": null
      },
      "wasLive": false
    }
  },
  "slaCalendars": [],
  "slaGoals": [],
  "subFlows": [],
  "exportDate": "2026-12-02T01:41:29.142Z"
}
