Import a list of people into a role
import_peopleBring a list of people into a role from a CSV or text file's content: GitHub handles or github.com links, and LinkedIn /in/ links if there are any (optional columns: github, linkedin, name, note; a note becomes the reason they were added). At most 200 KB and 500 people. Returns a preview and changes nothing in the role: who is ready, who needs checking, who is already in the role, lines left out (with why), and the paid analyses it could take. Show it to the user, then call run_import. A LinkedIn link gets a GitHub account only when exactly one GitHub profile itself links it; anything less certain is a row to check (resolve_import_row), never added or scored until then. Names never identify anyone. Sending the same file again returns the same import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The file's content: CSV (with a header row, best) or one person per line | |
| role_id | Yes | ||
| filename | No | The file's name, e.g. people.csv (optional; .txt means a plain list) |