Employment contract generator with Greenhouse integration

Starting promptUse this prompt as a starting point to build your workflow.

Build a workflow that lets recruiters generate legally-reviewed employment offer contracts for candidates, pulling candidate data from the applicant tracking system and rendering the finished document as a Google Doc or a downloadable PDF. Trigger it with an HTTP route serving a private, space-authenticated React web form (the recruiter-facing UI). No cron or email trigger. The main pieces: A candidate-facing form page where recruiters search for a candidate, pick one, review pre-filled details, toggle optional compensation blocks (commission, bonuses), and choose to create a Google Doc or download a PDF. Include a preview of the governing jurisdiction derived from the candidate's mailing address. A candidate search endpoint that queries your applicant tracking system for candidates by name or email and returns matches for the picker. A prefill endpoint that, given a candidate, returns the form fields (name, address, job title, hiring manager, recruiter, plus compensation and offer details) by reading the candidate, their application, the hiring team, and the current offer from the ATS. Missing fields come back blank for manual entry. Keep the offer-custom-field mapping in one clearly-labeled table since those keys are ATS-configuration-specific. A contract generation endpoint that takes the form's field values, derives the authoritative governing jurisdiction from the mailing address, and renders a completed offer document from per-jurisdiction text templates with placeholder substitution and conditional clauses. Support two output formats: a PDF (rendered server-side, read-only) and a Google Doc (created in the connected account's Drive, returning a link). Handle jurisdiction variations (e.g. multiple US states, Ireland, Australia) via separate template files. A small public image route that serves the company logo as a PNG, so the Google Docs API can fetch it server-side when embedding it in the doc. Also include, off the same generation endpoint: a private catalog of completed sample contracts, downloadable reference copies (PDF and plain text) of the full clause set for Legal to review, and a drift-detection script that diffs each production template against Legal's approved master text. Keep all routes private to the space except the logo image, which must be public. Use the applicant tracking system's API for candidate/offer data and the document API for creating docs — swap in whatever services your team uses. Tools used: Greenhouse Harvest API, Google Docs API, React

New to Tines?Sign up free for Tines 3B Explore Edition

What this prompt builds

An employment contract automation workflow for recruiting teams. Pulls candidate and offer data from Greenhouse, applies jurisdiction-specific legal clauses based on location and role type, and generates completed contracts as Google Docs or PDFs. Replaces manual Word template copying and editing with an automated, legally-reviewed document generation process.

The problem

Recruiting teams creating employment contracts from Word templates face a tedious, error-prone process: copying template files, manually filling in candidate details from their ATS, and editing variable clauses for location, role type, and compensation structures. This workflow pulls candidate and offer data directly from Greenhouse, applies the correct jurisdiction-specific clauses automatically, and generates a completed, legally-reviewed employment contract as either a Google Doc or downloadable PDF. Recruiters search for a candidate, review pre-filled details in a web form, toggle optional compensation blocks, and receive a finished contract in seconds—eliminating manual data entry and the risk of including incorrect or missing clauses.

Solution and impact

The workflow eliminates manual template editing by automating the entire contract creation process: candidate and offer data flows directly from Greenhouse into jurisdiction-aware templates that handle location-based legal clauses, employment types, and variable compensation structures. Recruiting teams generate contracts in seconds rather than hours, and the risk of human error—missing clauses, incorrect terms, wrong jurisdiction—drops to near zero because the system applies legally-reviewed, drift-monitored templates consistently. HR and recruiting operations save time on every hire and gain confidence that every contract is accurate and compliant.