Save the role I am looking for
profile_role_setSaves a user-selected job role to an empty profile, so recommendations and title-less searches focus on that role. Only saves explicitly chosen roles, not guesses.
Instructions
Saves the one role the user said they are looking for on an account that has no role yet, creating its profile when it has none. Recommendations then show that role's newest jobs in the account's place, and later searches with no title search exactly that role. The FoundRole search panel calls it when the user picks a role there; a role the user names in the chat is saved the same way. It saves only a role the user chose, not a guess from their words. On an account that already has another role it changes nothing and names the saved role; profile_role_replace replaces it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| career_profile_id | Yes | The FoundRole role the user chose, as careerProfileId from roles_lookup or a search question |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| success | Yes |