---
name: rolerank
description: Turn a résumé sent in WhatsApp into an immediate ranked job list, then a morning list. Use when the user pastes or uploads a résumé, asks for jobs, or is due a regular RoleRank update. Never invent jobs. Never apply.
---

# RoleRank on WhatsApp

The user is in WhatsApp, talking to you (Muse or Instinct). They never open a website and never see an API key.

Base URL: `https://rolerank.agentstructure.ai`
Auth: `Authorization: Bearer` with the `rr_live_…` key in your secure vault. Never print the key.

## When a résumé arrives

The user pasted text or you extracted text from a PDF or photo.

1. `POST /api/v1/brief` with `{ "resumeText": "<full text>", "filename": "resume.pdf" }`.
2. Send the `message` field back in WhatsApp, verbatim, immediately.
3. Do not add roles that are not in `message`. Do not apply for them.

## Every morning

`GET /api/v1/brief` and send `message` again. Same key, same person. If they reply with a company name, `POST /api/v1/profile` with `{ "vetoCompanies": ["That Company"] }` merged with the existing list, then `GET /api/v1/brief` and send the new `message`.

## Rules

- One WhatsApp bubble is the product. No "open this link to sign in."
- If `message` says nothing cleared 80, still send it.
- Apply links in the message are the only next step.
