# Comeet

> Manage positions, candidates and leads in Comeet, upload candidate files, and watch for new and updated positions.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/comeet

## Actions

### Add a file to a candidate

Upload a file to a candidate's profile.

**Inputs**

- Candidate UID (`candidate_uid`, text, required): The UID of the candidate.
- File (`file`, text, required): The file, from the workflow or a public link. Up to 6 MB.
- File name (`name`, text): The file's name, such as `home-assignment.pdf`. Leave it empty to use the file's own name.

**Outputs**

- `data` (list): The response from Comeet.

**Example output**

```json
{
  "data": []
}
```

### Add a résumé to a candidate

Upload a résumé to a candidate.

**Inputs**

- Candidate UID (`candidate_uid`, text, required): The UID of the candidate.
- File (`file`, text, required): The résumé, as a PDF, DOC or DOCX file from the workflow or a public link.
- File name (`name`, text): The file's name, such as `cv.pdf`. Leave it empty to use the file's own name.

**Outputs**

- `data` (list): The response from Comeet.

**Example output**

```json
{
  "data": []
}
```

### Create a candidate

Add a candidate to a position.

**Inputs**

- Position (`position_uid`, text, required): The position to add the candidate to.
- First name (`first_name`, text, required): The candidate's first name.
- Middle name (`middle_name`, text): The candidate's middle name.
- Last name (`last_name`, text, required): The candidate's last name.
- Email (`email`, text): The candidate's email address.
- Phone (`phone`, text): The candidate's phone number.
- Mobile phone (`mobile_phone`, text): The candidate's mobile phone number.
- Linkedin URL (`linkedin_url`, text): A link to the candidate's LinkedIn profile.
- Country (`country`, text): Country of the address.
- State (`state`, text): State of the address.
- City (`city`, text): City of the address.
- Postal code (`zip`, text): Postal code of the address.
- Source name (`source_name`, text): The full name of the person who referred or submitted the candidate, such as a recruiter.
- Source email (`source_email`, text): That person's email. Required when you give their name.
- Résumé (`resume`, text): The résumé, as a PDF, DOC or DOCX file from the workflow or a public link.
- Note (`note`, text): A plain-text note to add to the profile.
- Prospect status (`prospect_status`, text): Where outreach to a sourced candidate stands. One of: `Sourced`, `Contacted`, `Responded`, `Interested`, `Not interested`, `Do not contact`.
- Your candidate ID (`partner_candidate_id`, text): The candidate's ID in your own system, to stop the same candidate being added twice.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "URL": "example",
    "address": {
      "city": "example",
      "country": "example",
      "state": "example",
      "street_address": "example",
      "zip": "example"
    },
    "completed_steps": [],
    "current_steps": [],
    "custom_fields": {},
    "deleted": false,
    "disposition_reason": {
      "note": "example",
      "reason": "example"
    },
    "email": "example",
    "first_name": "example",
    "future_steps": [],
    "last_name": "example",
    "linkedin_url": "example",
    "middle_name": "example",
    "mobile_phone": "example",
    "person_uid": "example",
    "phone": "example",
    "position_uid": "example",
    "prospect_status": "Sourced",
    "status": "In progress",
    "tags": [],
    "time_created": "example",
    "time_last_status_changed": "example",
    "uid": "example"
  }
}
```

### Create a lead

Add a lead to a position.

**Inputs**

- Position (`position_uid`, text, required): The position to add the lead to.
- First name (`first_name`, text, required): The lead's first name.
- Middle name (`middle_name`, text): The lead's middle name.
- Last name (`last_name`, text, required): The lead's last name.
- Email (`email`, text): The lead's email address.
- Phone (`phone`, text): The lead's phone number.
- Mobile phone (`mobile_phone`, text): The lead's mobile phone number.
- Linkedin URL (`linkedin_url`, text): A link to the lead's LinkedIn profile.
- Country (`country`, text): Country of the address.
- State (`state`, text): State of the address.
- City (`city`, text): City of the address.
- Postal code (`zip`, text): Postal code of the address.
- Source name (`source_name`, text): The full name of the person who referred or submitted the lead, such as a recruiter.
- Source email (`source_email`, text): That person's email. Required when you give their name.
- Résumé (`resume`, text): The résumé, as a PDF, DOC or DOCX file from the workflow or a public link.
- Note (`note`, text): A plain-text note to add to the profile.
- Outreach status (`outreach_status`, text, required): Where outreach to the lead stands. One of: `Not Contacted`, `Contacted`, `Responded`.
- Your lead ID (`partner_lead_id`, text): The lead's ID in your own system, to stop the same lead being added twice.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "state": "example",
      "street_address": "example",
      "zip": "example"
    },
    "deleted": false,
    "email": "example",
    "first_name": "example",
    "last_name": "example",
    "outreach_status": "Not Contacted",
    "position_uid": "example",
    "status": "example",
    "time_created": "example",
    "uid": "example"
  }
}
```

### Create a position

Create a position with its hiring team. One opening is created with it.

**Inputs**

- Name (`name`, text, required): The position's name.
- Status (`status`, text, required): The position's status. One of: `open`, `on hold`, `closed`.
- Is discreet (`is_discreet`, true/false, required): Make the position visible only to its hiring team.
- Department (`department`, text): The department. A new value is added as a new option.
- Experience level (`experience_level`, text): The seniority. A new value is added as a new option.
- Employment type (`employment_type`, text): The employment type, such as `Full-time`. A new value is added as a new option.
- Is talent pool (`is_talent_pool`, true/false): Make the position a talent pool.
- Location UID (`location_uid`, text): The UID of the position's location.
- Lead recruiter email (`lead_recruiter_email`, text, required): The email of the lead recruiter, an existing Comeet user with a recruiter role.
- Hiring manager email (`hiring_manager_email`, text, required): The email of the hiring manager, an existing Comeet user.
- Recruiting coordinator email (`recruiting_coordinator_email`, text): The email of the lead recruiting coordinator, an existing Comeet user.
- Fall back to the owner (`allow_fallback`, true/false): If an email doesn't match a Comeet user, assign the account's first owner instead of failing.
- Salary min (`salary_min`, number): The lowest salary. Needs permission to write salary ranges.
- Salary max (`salary_max`, number): The highest salary.
- Salary currency (`salary_currency`, text): The salary's three-letter currency code, such as `USD`.
- Salary period (`salary_period`, text): The period the salary is quoted for. One of: `hourly`, `weekly`, `monthly`, `annually`.
- Details (`details`, list): Free-form details, each a `name` that matches an existing field and an HTML `value`.
- Categories (`categories`, list): Custom categories, each a `name` that matches an existing field and a `value`.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "URL": "example",
    "categories": [],
    "company_name": "example",
    "department": "example",
    "details": [],
    "email": "example",
    "employment_type": "example",
    "experience_level": "example",
    "internal_use_custom_id": "example",
    "is_discreet": false,
    "is_internal": false,
    "is_published": false,
    "is_talent_pool": false,
    "location": {
      "city": "example",
      "country": "example",
      "name": "example",
      "postal_code": "example",
      "state": "example",
      "timezone": "example",
      "uid": "example"
    },
    "name": "example",
    "salary_range": {
      "currency_code": "example",
      "max": 1,
      "min": 1,
      "period": "example"
    },
    "status": "open",
    "time_updated": "example",
    "uid": "example",
    "url_active_page": "example",
    "url_recruit_hosted_page": "example"
  }
}
```

### Create a position from a template

Create a position from a position template.

**Inputs**

- Template (`position_uid`, text, required): The UID of the position template to copy.
- Copy assignees (`copy_assignees`, true/false, required): Keep the template's hiring team and step assignees. Otherwise the new hiring team assigns them.
- Name (`name`, text, required): The position's name.
- Status (`status`, text, required): The position's status. One of: `open`, `on hold`, `closed`.
- Is discreet (`is_discreet`, true/false, required): Make the position visible only to its hiring team.
- Department (`department`, text): The department. A new value is added as a new option.
- Experience level (`experience_level`, text): The seniority. A new value is added as a new option.
- Employment type (`employment_type`, text): The employment type, such as `Full-time`. A new value is added as a new option.
- Is talent pool (`is_talent_pool`, true/false): Make the position a talent pool.
- Location UID (`location_uid`, text): The UID of the position's location.
- Lead recruiter email (`lead_recruiter_email`, text, required): The email of the lead recruiter, an existing Comeet user with a recruiter role.
- Hiring manager email (`hiring_manager_email`, text, required): The email of the hiring manager, an existing Comeet user.
- Recruiting coordinator email (`recruiting_coordinator_email`, text): The email of the lead recruiting coordinator, an existing Comeet user.
- Fall back to the owner (`allow_fallback`, true/false): If an email doesn't match a Comeet user, assign the account's first owner instead of failing.
- Salary min (`salary_min`, number): The lowest salary. Needs permission to write salary ranges.
- Salary max (`salary_max`, number): The highest salary.
- Salary currency (`salary_currency`, text): The salary's three-letter currency code, such as `USD`.
- Salary period (`salary_period`, text): The period the salary is quoted for. One of: `hourly`, `weekly`, `monthly`, `annually`.
- Details (`details`, list): Free-form details, each a `name` that matches an existing field and an HTML `value`.
- Categories (`categories`, list): Custom categories, each a `name` that matches an existing field and a `value`.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "URL": "example",
    "categories": [],
    "company_name": "example",
    "department": "example",
    "details": [],
    "email": "example",
    "employment_type": "example",
    "experience_level": "example",
    "internal_use_custom_id": "example",
    "is_discreet": false,
    "is_internal": false,
    "is_published": false,
    "is_talent_pool": false,
    "location": {
      "city": "example",
      "country": "example",
      "name": "example",
      "postal_code": "example",
      "state": "example",
      "timezone": "example",
      "uid": "example"
    },
    "name": "example",
    "salary_range": {
      "currency_code": "example",
      "max": 1,
      "min": 1,
      "period": "example"
    },
    "status": "open",
    "time_updated": "example",
    "uid": "example",
    "url_active_page": "example",
    "url_recruit_hosted_page": "example"
  }
}
```

### Find duplicate candidates

Find candidates and leads who may already be in Comeet. Give an email, phone number, LinkedIn profile, or a first and last name.

**Inputs**

- First name (`first_name`, text): First name to match.
- Middle name (`middle_name`, text): Middle name to match.
- Last name (`last_name`, text): Last name to match.
- Email (`email`, text): Email address to match.
- Phone number (`phone_number`, text): Phone number to match.
- Linkedin URL (`linkedin_url`, text): LinkedIn profile to match.

**Outputs**

- `data` (list): The response from Comeet.

**Example output**

```json
{
  "data": []
}
```

### Get a candidate

Get one candidate.

**Inputs**

- Candidate UID (`candidate_uid`, text, required): The UID of the candidate.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "URL": "example",
    "address": {
      "city": "example",
      "country": "example",
      "state": "example",
      "street_address": "example",
      "zip": "example"
    },
    "completed_steps": [],
    "current_steps": [],
    "custom_fields": {},
    "deleted": false,
    "disposition_reason": {
      "note": "example",
      "reason": "example"
    },
    "email": "example",
    "first_name": "example",
    "future_steps": [],
    "last_name": "example",
    "linkedin_url": "example",
    "middle_name": "example",
    "mobile_phone": "example",
    "person_uid": "example",
    "phone": "example",
    "position_uid": "example",
    "prospect_status": "Sourced",
    "status": "In progress",
    "tags": [],
    "time_created": "example",
    "time_last_status_changed": "example",
    "uid": "example"
  }
}
```

### Get a lead

Get one lead.

**Inputs**

- Lead UID (`lead_uid`, text, required): The UID of the lead.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "state": "example",
      "street_address": "example",
      "zip": "example"
    },
    "deleted": false,
    "email": "example",
    "first_name": "example",
    "last_name": "example",
    "outreach_status": "Not Contacted",
    "position_uid": "example",
    "status": "example",
    "time_created": "example",
    "uid": "example"
  }
}
```

### List a candidate's files

List the files on a candidate's profile.

**Inputs**

- Candidate UID (`candidate_uid`, text, required): The UID of the candidate.

**Outputs**

- `data` (list): The response from Comeet.

**Example output**

```json
{
  "data": []
}
```

### List candidates

List candidates, with filters for status and dates. Each candidate is one person's hiring process for one position.

**Inputs**

- Status (`status`, list): Only candidates in these statuses. One or more of: `In progress`, `On hold`, `Awaiting Decision`, `Rejected`, `Withdrawn`, `Hired`.
- Time created after (`time_created_after`, date and time): Only candidates created after this time.
- Time created before (`time_created_before`, date and time): Only candidates created before this time.
- Time last status change after (`time_last_status_change_after`, date and time): Only candidates whose status changed after this time.
- Time last status change before (`time_last_status_change_before`, date and time): Only candidates whose status changed before this time.
- Time hiring process updated after (`time_hiring_process_updated_after`, date and time): Only candidates with any activity after this time.
- Time hiring process updated before (`time_hiring_process_updated_before`, date and time): Only candidates with any activity before this time.
- Deleted (`deleted`, true/false): Return only deleted candidates, or leave them out.
- Next page (`next_page`, text): The **next_page** link from a previous list step, to read the page after it.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "candidates": [],
    "next_page": "example"
  }
}
```

### List deleted candidates

List the UIDs of candidates and leads deleted from Comeet, so you can delete them from your own systems too.

**Inputs**

- Time deleted after (`time_deleted_after`, date and time): Only candidates and leads deleted after this time.
- Time deleted before (`time_deleted_before`, date and time): Only candidates and leads deleted before this time.

**Outputs**

- `data` (list): The response from Comeet.

**Example output**

```json
{
  "data": []
}
```

### List leads

List leads: people sourced for a position who haven't applied.

**Inputs**

- Outreach status (`outreach_status`, list): Only leads with these outreach statuses. One or more of: `Not Contacted`, `Contacted`, `Responded`.
- Time first contacted after (`time_first_contacted_after`, date and time): Only leads first contacted after this time.
- Time first contacted before (`time_first_contacted_before`, date and time): Only leads first contacted before this time.
- Next page (`next_page`, text): The **next_page** link from a previous list step, to read the page after it.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "leads": [],
    "next_page": "example"
  }
}
```

### List positions

List the positions shared with the integration, with filters for status and when they last changed.

**Inputs**

- Status (`status`, list): Only positions in these statuses. One or more of: `open`, `on hold`, `closed`.
- Published (`is_published`, true/false): Only published, or only unpublished, positions.
- Discreet (`is_discreet`, true/false): Only discreet, or only regular, positions.
- Template (`is_template`, true/false): Only position templates, or only regular positions.
- Include employee only (`include_employee_only`, true/false): Also include positions published only to employees.
- Time last updated after (`time_last_updated_after`, date and time): Only positions changed after this time.
- Time last updated before (`time_last_updated_before`, date and time): Only positions changed before this time.
- Next page (`next_page`, text): The **next_page** link from a previous list step, to read the page after it.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "next_page": "example",
    "positions": []
  }
}
```

### List questionnaires

List your company's questionnaires.

**Inputs**

- Next page (`next_page`, text): The **next_page** link from a previous list step, to read the page after it.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "next_page": "example",
    "questionnaires": []
  }
}
```

### Update a position

Change a position. Only the fields you fill in are changed.

**Inputs**

- Position (`position_uid`, text, required): The UID of the position.
- Name (`name`, text): The position's name.
- Is discreet (`is_discreet`, true/false): Make the position visible only to its hiring team.
- Department (`department`, text): The department. A new value is added as a new option.
- Experience level (`experience_level`, text): The seniority. A new value is added as a new option.
- Employment type (`employment_type`, text): The employment type, such as `Full-time`. A new value is added as a new option.
- Is talent pool (`is_talent_pool`, true/false): Make the position a talent pool.
- Location UID (`location_uid`, text): The UID of the position's location.
- Lead recruiter email (`lead_recruiter_email`, text): The email of the lead recruiter, an existing Comeet user with a recruiter role.
- Hiring manager email (`hiring_manager_email`, text): The email of the hiring manager, an existing Comeet user.
- Recruiting coordinator email (`recruiting_coordinator_email`, text): The email of the lead recruiting coordinator, an existing Comeet user.
- Salary min (`salary_min`, number): The lowest salary. Needs permission to write salary ranges.
- Salary max (`salary_max`, number): The highest salary.
- Salary currency (`salary_currency`, text): The salary's three-letter currency code, such as `USD`.
- Salary period (`salary_period`, text): The period the salary is quoted for. One of: `hourly`, `weekly`, `monthly`, `annually`.
- Details (`details`, list): Free-form details, each a `name` that matches an existing field and an HTML `value`.
- Categories (`categories`, list): Custom categories, each a `name` that matches an existing field and a `value`.
- Questionnaires (`questionnaire_uids`, list): The UIDs of the questionnaires the position uses.

**Outputs**

- `data` (object): The response from Comeet.

**Example output**

```json
{
  "data": {
    "URL": "example",
    "categories": [],
    "company_name": "example",
    "department": "example",
    "details": [],
    "email": "example",
    "employment_type": "example",
    "experience_level": "example",
    "internal_use_custom_id": "example",
    "is_discreet": false,
    "is_internal": false,
    "is_published": false,
    "is_talent_pool": false,
    "location": {
      "city": "example",
      "country": "example",
      "name": "example",
      "postal_code": "example",
      "state": "example",
      "timezone": "example",
      "uid": "example"
    },
    "name": "example",
    "salary_range": {
      "currency_code": "example",
      "max": 1,
      "min": 1,
      "period": "example"
    },
    "status": "open",
    "time_updated": "example",
    "uid": "example",
    "url_active_page": "example",
    "url_recruit_hosted_page": "example"
  }
}
```
