# Overview

These guides outlines the process of automating job applications using the UBIO API.

The automation process is fairly straight forward, we start by extracting relevant application questions, retrieving them as needed, and then using the gathered information to create job post applications through the AutomationCloud API.

# Process Flow

  1. Mining Job Application Questions:

    • This request requires the URL of the job post form and a unique identifier known as jobPostId, along with potentially more information for user experience purposes, such as sending contextualized follow-up emails, which you'll use later to retrieve the mined questions.

    • The API then "mines" the job application questions from the specified web page. These questions are subsequently stored in the UBIO database for future retrieval.

  2. Retrieving Job Application Questions:

    • After the job application questions have been successfully mined and stored, you can retrieve them using another API call.

    • To fetch the corresponding questions, you need to provide the jobPostId associated with the job post.

    • The mining service may encounter several states during its operation:

      • queued: The job is waiting to be processed.
      • processing: The job is currently being processed.
      • failed: The mining attempt was unsuccessful.
      • answers/questions: Indicates that the mining process has successfully retrieved the questions.
    • In the event of a failed status, it is necessary to recreate the job manually, potentially with new parameters, as the mining service does not support automatic retries.

    • If the response contains both answers and questions, it confirms that the service has successfully mined the questions for the specified job post. Answers are values that were used in mining to get through the flow. You only need to use questions that are essential to build the frontend.

  3. Creating a Job Post Application:

    • To submit a job application on behalf of a user, you must initiate an automation job using the AutomationCloud API.
    • The required inputs for the application are derived from the previously retrieved job application questions. These inputs should be formatted as key-value pairs and sent to the API endpoint.
  4. Submission and Confirmation:

    • Once the application has been submitted, you can confirm its status through the API, ensuring that the application process is tracked and managed effectively.