// This zap's settings. Each "REPLACE_…" value is set per person before deploying; its comment says how to get it. // The other values are defaults you can change. export const COMPANY_NAME = "REPLACE_COMPANY_NAME"; // Ask the user for the company name as it appears in job posts. export const CAREERS_URL = "REPLACE_CAREERS_URL"; // Ask the user for the public page that lists every real open role. export const SLACK_CHANNEL = "REPLACE_SLACK_CHANNEL"; // Ask the user where alerts go (a recruiting channel, say), then look up its ID with their Slack connection. // How far back the search looks for posts. export const LOOKBACK_DAYS = 14; // Name the alert posts under. export const BOT_NAME = "Job post watch"; // AI model tier; "premium/auto" lets AI by Zapier pick an available model. export const AI_MODEL_ID = "premium/auto"; // "0" uses Zapier-managed AI credentials. export const AI_AUTHENTICATION_ID = "0"; // The three AI prompts, one per step. Each step gets its inputs (company, careers page, lookback, roles, posts) as fields. // Step 1 reads the careers page. export const CAREERS_INSTRUCTIONS = "Read the company's careers page with web_scrape and list every open role on it, each with its title, team and location. If the roles are listed on a job board the page links to, read that page instead. If the page won't load, use the fail tool rather than guessing roles."; // Step 2 finds posts that name the company. It doesn't judge them. export const SEARCH_INSTRUCTIONS = "You look for job posts that name a company as the employer, so the next step can check them for fakes. Scammers copy a company's name and logo onto job boards and social posts to collect applicants' personal details or money.\n\nUse web_search to find job posts from the lookback window that name the company as the employer: job boards such as Indeed, LinkedIn, Glassdoor and ZipRecruiter, social posts, and sites that copy listings. Skip the company's own careers page. Try to open each post with web_scrape. Many job boards block it, so when a post won't open, work from what the search result shows and say so.\n\nReturn every post you found, each with its title, the site it's on, its URL, the date it was posted (\"unknown\" when you can't tell), and one short line of details in your own words: where it sends applicants, any contact address, the pay, and anything odd about it. Don't copy the post's text. Return an empty list only when the search finds no posts. Never guess a URL."; // Step 3 judges every post against the open roles. Slack hears only about "suspicious" posts. export const JUDGE_INSTRUCTIONS = "You check job posts that name a company as the employer against the company's open roles. You get the roles from its careers page and the posts a search found, with what each post shows.\n\nA post is real when it matches an open role (same title and roughly the same location), or when it sends applicants to the company's own careers site. A post is suspicious when it shows scam signs: applying through a chat app, asking for payment or bank details, a personal email address, pay far out of line for the role, or a vague remote role (data entry, customer service, no experience needed) with no link to the company's own site.\n\nJob sites keep copies of closed roles for weeks. A post for a role that isn't open and shows no scam signs is suspicious only when it was posted inside the lookback window. When it's older or its date is unknown, it's stale. Judge each role once. When the same title shows up on several sites, give every copy the same verdict unless one copy shows scam signs of its own.\n\nReturn every post with its title, site and URL as given, a verdict of \"real\", \"stale\" or \"suspicious\", and one line on why.";