Invite candidates to an assessment
invite_candidatesInvite one or more candidates to an existing assessment of yours: an AI interview, a role-play, a Skill Test or a Technical Test (an assessment whose set_type is 1, 7, 3 or 5 in list_interview_sets), which sends real invitation emails. Showcases, CV evaluations, recordings and questionnaires cannot be sent through this tool: tell the person to invite to those from Flowmingo. This does NOT send anything straight away: it prepares ONE invitation batch listing every recipient and asks for a person's approval, and the tool sends nothing itself. Nothing is sent until a PERSON approves it at the approval link, signed in to Flowmingo — this client shows them the link on its own prompt when it can; otherwise give them approval_url from the answer. You cannot approve it yourself, and must not say it is done until change_status says so. Hard cap: 50 candidates per call. A Skill Test or Technical Test is invited with the same fields as an interview, ONE test per call, and every candidate needs an email; it must be published and attached to a hiring project (pass com_project_id, or leave it out when the test is attached to exactly one project). Sending is free, but a sponsored Skill Test or Technical Test can debit your ORGANISATION's wallet when a candidate starts it, under the same rules as an invitation sent from the Flowmingo dashboard; the approval page tells the person so. At most 1000 invitations per assessment and 5000 per organisation per day. The result never contains a candidate's invitation link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"com_interview_set_id": "<com_interview_set_id>",
"candidates": "<candidates>"
},
"name": "invite_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidates | Yes | The candidates to invite (each needs at least an email). | |
| com_project_id | No | The hiring project. An interview needs a project that has a job post; a Skill Test or Technical Test goes through the project it is attached to (optional when it is attached to just one). | |
| com_job_post_id | No | An interview only: the job post the email names and links to, one of YOUR job posts, in com_project_id (or, without one, in a project the interview set belongs to). Omit it to use the project’s newest job post. A Skill Test or Technical Test email has no job post: leave this out. | |
| invitation_message | No | A custom message for the email: plain text or simple HTML (paragraphs, line breaks, bold, italic, underline, lists and links). Images, tables, scripts, styling and any other formatting are NOT kept: the message is cleaned before the person approving it reads it. The words of a formatting tag stay, but whatever is inside a script, button, embedded content or similar goes with it. The answer to this request lists what was dropped as message_changes at the top of the answer, whatever happened to the change (waiting, already approved, being carried out, failed, closed or withdrawn; while it waits the same list is also in details.message_changes): tell the person if something they wanted is missing, and keep that list. change_status returns the STORED change's list in details.message_changes, which can differ from this request's when an identical change was already waiting. At most 2,500 characters of visible text (formatting and link addresses are not counted) and 5,000 characters in all. It may use these placeholders, written exactly as {{ name }}: candidate_name, candidate_first_name, candidate_last_name, candidate_email, company_name, position_title, sender_name, sender_first_name, sender_last_name, duration, interview_link, ai_interview_link, job_post_link. A link's address may use only {{ ai_interview_link }} (the link to the interview or test) or {{ job_post_link }} (an interview only: a Skill Test or Technical Test email has none). A link or image address must otherwise be a full https:// address with a plain website name: http, mailto, javascript:, data:, relative and user@host addresses and look-alike letters in the website name are refused. Any other {{ … }}, HTML comments and the email sender's own variables (such as %recipient.email% or %unsubscribe_url%) are refused; ordinary percent-encoded addresses (…%C3%A9…) are fine. Hidden characters (the Unicode tag block, U+E0000 to U+E007F, which draw nothing and can spell a secret message) are refused, typed or written as character references; only the complete England, Scotland and Wales flag emoji may use them. The person approving reads the whole message, every link's address written out. | |
| com_interview_set_id | Yes | The assessment to invite to (from list_interview_sets): an ai_interview, role_play, skill_test or technical_test set. Any other kind is refused as not found. |