# Salesflare

> Find and manage Salesflare accounts, contacts, opportunities and tasks.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/salesflare

## Actions

### Create account

Create account in Salesflare.

**Inputs**

- Update if exists (`update_if_exists`, true/false): Update if exists. Default: `false`.
- Owner (`owner`, number): The ID of the user who owns the account.
- Name (`name`, text): The account name.
- Domain (`domain`, text): The account domain.
- Size (`size`, number): The account employee count.
- Website (`website`, text): The account website URL.
- Description (`description`, text): The account description.
- Addresses (`addresses`, list): List of addresses associated with the account.
- Email (`email`, text): The account email address.
- Email addresses (`email_addresses`, list): List of email addresses associated with the account.
- Phone number (`phone_number`, text): The primary phone number of the account.
- Phone numbers (`phone_numbers`, list): List of phone numbers associated with the account.
- Social profiles (`social_profiles`, list): List of social profiles associated with the account.
- Tags (`tags`, list): List of tags associated with the account.
- Links (`links`, text): Links.
- Customers (`customers`, list): List of customers associated with the account.
- Dirty (`dirty`, true/false): Deprecated. This field is ignored.
- Parent account (`parent_account`, number): Parent account.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Create contact

Create contact in Salesflare.

**Inputs**

- Force (`force`, true/false): When `force` is `false`, the contact is not created if a contact with the same email address previously existed. Default: `true`.
- Owner (`owner`, number): The ID of the user who owns the contact.
- Domain (`domain`, text): The contact domain.
- Email (`email`, text): The contact email address.
- Prefix (`prefix`, text): The contact name prefix.
- Firstname (`firstname`, text): The contact first name.
- Middle (`middle`, text): The contact middle name.
- Lastname (`lastname`, text): The contact last name.
- Suffix (`suffix`, text): The contact name suffix.
- Name (`name`, text): The full name of the contact.
- Account (`account`, number): The Salesflare ID of the account to link to this contact. If you explicitly pass `null`, any existing linked account is removed.
- Birth date (`birth_date`, date and time): The contact birth date (ISO 8601 date-time).
- Opt out (`opt_out`, true/false): Whether the contact has opted out of communications.
- Opt out date (`opt_out_date`, date and time): The date and time the contact opted out of communications (ISO 8601 date-time).
- Opt out campaign (`opt_out_campaign`, text): Opt out campaign.
- Bounced (`bounced`, true/false): Whether emails to this contact have bounced.
- Bounced date (`bounced_date`, date and time): The date and time emails to this contact bounced (ISO 8601 date-time).
- Tags (`tags`, list): List of tags associated with the contact.
- Address (`address`, object): The primary address of the contact.
- Addresses (`addresses`, list): List of addresses associated with the contact.
- Phone number (`phone_number`, text): The primary phone number of the contact.
- Mobile phone number (`mobile_phone_number`, text): The mobile phone number of the contact.
- Home phone number (`home_phone_number`, text): The home phone number of the contact.
- Fax number (`fax_number`, text): The fax number of the contact.
- Phone numbers (`phone_numbers`, list): List of phone numbers associated with the contact.
- Position (`position`, object): The primary position of the contact.
- Positions (`positions`, list): List of positions associated with the contact.
- Social profiles (`social_profiles`, list): List of social profiles associated with the contact.

**Outputs**

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

**Example output**

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

### Create task

Create task in Salesflare.

**Inputs**

- Account (`account`, number): The ID of the account linked to the task.
- Description (`description`, text, required): The task description.
- Reminder date (`reminder_date`, date): The task due date and time (ISO 8601 date-time). Default: `2026-11-28T12:13:15.769Z`.
- Assignees (`assignees`, list): List of user IDs assigned to the task.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Delete account

Delete account in Salesflare.

**Inputs**

- Account ID (`account_id`, number, required): Account id.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Delete contact

Delete contact in Salesflare.

**Inputs**

- Contact ID (`contact_id`, number, required): Contact id.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Delete task

Delete task in Salesflare.

**Inputs**

- Task ID (`task_id`, number, required): Task id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Get account

Get account from Salesflare.

**Inputs**

- Account ID (`account_id`, number, required): Account id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Get contact

Get contact from Salesflare.

**Inputs**

- Contact ID (`contact_id`, number, required): Contact id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Get current user

Get current user from Salesflare.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "amount_of_trial_days_earned": 1,
    "creation_date": "example",
    "disabled": true,
    "email": "example",
    "group": 1,
    "has_archived_contacts": true,
    "has_received_account_suggestions": true,
    "id": 1,
    "modification_date": "example",
    "name": "example",
    "needs_password": true,
    "notification_channel_id": "example",
    "setup_completion_percentage": 1,
    "team": {
      "days_until_account_inactive": 1,
      "discount_code": "example",
      "discount_type": "example",
      "enabled_user_count": 1,
      "free_users": 1,
      "id": 1,
      "name": "example",
      "paid_user_count": 1,
      "payment_type": "stripe",
      "promo_description": "example",
      "promo_redeem_by": "example",
      "subscribed": true,
      "total_user_count": 1,
      "tracking_token": "example"
    }
  }
}
```

### Get opportunity

Get opportunity from Salesflare.

**Inputs**

- Opportunity ID (`opportunity_id`, number, required): Opportunity id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "account": {
      "hotness": 1,
      "id": 1,
      "name": "example",
      "owner": 1,
      "picture": "example"
    },
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example",
      "picture": "example"
    },
    "calculated_value": 1,
    "contract_end_date": "example",
    "contract_start_date": "example",
    "currency": {
      "html": "example",
      "id": 1,
      "iso": "example"
    },
    "frequency": "example",
    "id": 1,
    "name": "example",
    "owner": {
      "disabled": true,
      "email": "example",
      "id": 1,
      "name": "example",
      "picture": "example"
    },
    "recurring_price_per_unit": 1,
    "stage": {
      "color": "example",
      "fixed_stage": 1,
      "id": 1,
      "name": "example",
      "order": 1,
      "pipeline": 1,
      "probability": 1
    },
    "units": 1,
    "value": 1
  }
}
```

### Get stage

Get stage from Salesflare.

**Inputs**

- Stage ID (`stage_id`, number, required): Stage id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### List accounts

List accounts from Salesflare.

**Inputs**

- Record ID (`record_id`, list): Record id.
- Details (`details`, true/false): Details. Default: `true`.
- Search (`search`, text): Search.
- Name (`name`, text): Name.
- Creation after (`creation_after`, date and time): Creation after.
- Creation before (`creation_before`, date and time): Creation before.
- Min size (`min_size`, number): Min size. At least 0.
- Max size (`max_size`, number): Max size.
- Domain (`domain`, list): Domain.
- Tag (`tag`, list): Tag.
- Tag name (`tag_name`, list): Tag name.
- Address country (`address_country`, list): Address country.
- Address city (`address_city`, list): Address city.
- Address state region (`address_state_region`, list): Address state region.
- Hotness (`hotness`, number): Hotness level. Allowed values: 1 (Room temp), 2 (Hot), 3 (On fire). One of: `1`, `2`, `3`.
- Offset (`offset`, number): Offset. At least 0.
- Custom (`custom`, text): Custom.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Q (`q`, text): Q.
- Limit (`limit`, number): Limit. At least 1. Default: `10`.
- Export (`export`, text): Export.

**Outputs**

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

**Example output**

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

### List contacts

List contacts from Salesflare.

**Inputs**

- Record ID (`record_id`, list): Record id.
- Name (`name`, text): Name.
- Email (`email`, text): Email.
- Phone number (`phone_number`, text): Phone number.
- Domain (`domain`, text): Domain.
- Modification after (`modification_after`, date and time): Modification after.
- Modification before (`modification_before`, date and time): Modification before.
- Creation after (`creation_after`, date and time): Creation after.
- Creation before (`creation_before`, date and time): Creation before.
- Account (`account`, list): Account.
- Tag (`tag`, list): Tag.
- Tag name (`tag_name`, list): Tag name.
- Position role (`position_role`, list): Position role.
- Address country (`address_country`, list): Address country.
- Address state region (`address_state_region`, list): Address state region.
- Address city (`address_city`, list): Address city.
- Include archived (`include_archived`, true/false): Include archived.
- Search (`search`, text): Search.
- Type (`type`, text): Type. One of: `customer`, `mycontacts`.
- Limit (`limit`, number): Limit. At least 1. Default: `20`.
- Offset (`offset`, number): Offset. At least 0. Default: `0`.
- Custom (`custom`, text): Custom.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Export (`export`, text): Export.
- Q (`q`, text): Q.

**Outputs**

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

**Example output**

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

### List currencies

List currencies from Salesflare.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "html": "example",
      "id": 1,
      "iso": "example"
    }
  ]
}
```

### List opportunities

List opportunities from Salesflare.

**Inputs**

- Search (`search`, text): Search.
- Record ID (`record_id`, number): Record id.
- Name (`name`, text): Name.
- Status (`status`, text): Deprecated. Do not use this field.
- Stage (`stage`, number): Stage.
- Stage name (`stage_name`, text): Stage name.
- Owner (`owner`, number): Owner.
- Team member (`team_member`, number): Team member.
- Owner group (`owner_group`, number): Owner group.
- Assignee group (`assignee_group`, number): Assignee group.
- Team member group (`team_member_group`, number): Team member group.
- Account (`account`, number): Account.
- Assignee (`assignee`, number): Assignee.
- Min value (`min_value`, number): Min value. At least 0.
- Max value (`max_value`, number): Max value.
- Close after (`close_after`, date and time): Close after.
- Close before (`close_before`, date and time): Close before.
- Creation after (`creation_after`, date and time): Creation after.
- Creation before (`creation_before`, date and time): Creation before.
- Closed (`closed`, true/false): Closed.
- Done (`done`, true/false): Done.
- Tag (`tag`, list): Tag.
- Tag name (`tag_name`, text): Tag name.
- Hotness (`hotness`, number): Hotness level. Allowed values: 1 (Room temp), 2 (Hot), 3 (On fire). One of: `1`, `2`, `3`.
- Limit (`limit`, number): Limit. At least 1.
- Offset (`offset`, number): Offset. At least 0.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Pipeline (`pipeline`, number): Pipeline.
- Custom (`custom`, text): Custom.
- Details (`details`, true/false): Details.
- Export (`export`, text): Export.
- Q (`q`, text): Q.

**Outputs**

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

**Example output**

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

### List pipelines

List pipelines from Salesflare.

**Inputs**

- Search (`search`, text): Search.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Q (`q`, text): Q.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "currency": {
        "html": "example",
        "id": 1,
        "iso": "example"
      },
      "default_pipeline": true,
      "expected_customer_lifetime_months": 1,
      "follows_default_team_currency": true,
      "groups": [
        {
          "id": 1,
          "name": "example"
        }
      ],
      "id": 1,
      "name": "example",
      "order": 1,
      "recurring": true,
      "stages": [
        {
          "color": "example",
          "days_until_account_inactive": 1,
          "fixed_stage": 1,
          "id": 1,
          "name": "example",
          "order": 1,
          "probability": 1
        }
      ],
      "standard_price_per_unit_annually": 1,
      "standard_price_per_unit_monthly": 1,
      "standard_price_per_unit_weekly": 1,
      "team": 1
    }
  ]
}
```

### List stages

List stages from Salesflare.

**Inputs**

- Record ID (`record_id`, number): Record id.
- Name (`name`, text): Name.
- Pipeline (`pipeline_id`, number): Pipeline id.
- Pipeline name (`pipeline_name`, text): Pipeline name.
- Order by (`order_by`, text): Order by.

**Outputs**

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

**Example output**

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

### List tags

List tags from Salesflare.

**Inputs**

- Record ID (`record_id`, list): Record id.
- Name (`name`, text): Deprecated. Use `q.search` instead. When both are provided, `q.search` is used.
- Limit (`limit`, number): Limit. At least 1. Default: `20`.
- Offset (`offset`, number): Offset. At least 0. Default: `0`.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Q (`q`, text): Q.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "account_count": 1,
      "automated": true,
      "creation_date": "example",
      "id": 1,
      "modification_date": "example",
      "name": "example",
      "opportunity_count": 1,
      "person_count": 1,
      "team": 1,
      "total_count": 1
    }
  ]
}
```

### List tasks

List tasks from Salesflare.

**Inputs**

- Record ID (`record_id`, list): Record id.
- Search (`search`, text): Search tasks by name or description.
- Assignees (`assignees`, list): List of user IDs from the team. Defaults to the authenticated user's ID.
- Type (`type`, list): A list of task type ids.
- Account (`account`, list): A list of account ids.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending. You can fetch available sort keys via a discover mode call.
- Limit (`limit`, number): The number of tasks to return. Defaults to 20. At least 1.
- Offset (`offset`, number): The number of tasks to skip. At least 0.
- Export (`export`, text): Export.
- Q (`q`, text): Q.

**Outputs**

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

**Example output**

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

### List users

List users from Salesflare.

**Inputs**

- Record ID (`record_id`, list): Record id.
- Name (`name`, text): Name.
- Email (`email`, text): Email.
- Search (`search`, text): Search.
- Limit (`limit`, number): Limit. At least 1.
- Offset (`offset`, number): Offset. At least 0.
- Order by (`order_by`, list): Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending.
- Only enabled (`only_enabled`, true/false): Only enabled.

**Outputs**

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

**Example output**

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