# REsimpli

> Work with investment leads, buyers, agents, vendors and account reference data.

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

## Actions

### Appointment list

Paginated appointment list with date range, assignee, status, type, subtype, qualification, upcoming/past, and search filters.

**Inputs**

- Appointment type (`appointment_type`, number): 0 = seller appointment, 1 = buyer showing, 2 = contractor walk through, 3 = other. Default 9 = all. One of: `0` (Seller appointment), `1` (Buyer showing), `2` (Contractor walk through), `3` (Other), `9` (All). Default: `9`.
- Appointment subtype (`appointment_sub_type`, number): Required when type is seller appointment. 0 = in person, 1 = phone, 2 = drive by. One of: `0` (In person by appointment), `1` (Phone appointment), `2` (Drive by appointment).
- Appointment status (`appointment_status`, number): 0 = no answer, 1 = kept, 2 = not kept, 3 = dismiss. Default 9 = all. One of: `0` (No answer), `1` (Kept), `2` (Not kept), `3` (Dismiss), `9` (All). Default: `9`.
- Qualification (`qualification`, number): 0 =not qualified, 1 = qualified. Default 9 = all. One of: `0` (Not qualified), `1` (Qualified), `9` (All). Default: `9`.
- Upcoming (`is_upcoming`, true/false): True for upcoming appointments, false for past appointments.
- Start date (`start_date`, date): Range start date.
- End date (`end_date`, date): Range end date.
- Assign user IDs (`assign_user_id`, list): Filter by assigned user ObjectIds. If sent, at least one ID is required.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### Company dropdown list

API used for company dropdown list with pagination and search.

**Inputs**: None.

**Outputs**

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

**Example output**

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

### Create lead

Create a new lead in REsimpli.

**Inputs**

- First name (`first_name`, text): First name for new contact.
- Last name (`last_name`, text): Last name for new contact.
- Phone numbers (`phone_numbers`, list, required): Phone numbers for contact. Maximum 10.
- Emails (`emails`, list): Email addresses for contact. Maximum 10.
- Mailing address (`mailing_address`, text): Mailing address for contact.
- Website URL (`website_url`, text): Website URL.
- Facebook URL (`facebook_url`, text): Facebook profile/page URL.
- Instagram URL (`instagram_url`, text): Instagram profile URL.
- YouTube URL (`youtube_url`, text): YouTube channel URL.
- LinkedIn URL (`linkedin_url`, text): LinkedIn profile URL.
- Twitter URL (`twitter_url`, text): Twitter/X profile URL.
- Birth date (`birth_date`, date): Birth date.
- Anniversary date (`anniversary_date`, date): Anniversary date.
- Company (`company`, text): Company name.
- Company IDs (`company_ids`, list): Company ObjectIds.
- Property type (`property_type`, text, required): Property type: land or residential. One of: `land`, `residential`.
- APN (`apn`, text): APN is required when propertyType is land.
- Reference ID (`reference_id`, text): External reference ID. Shown when propertyType is land.
- Address (`address`, text): Property address.
- Marketing campaign ID (`marketing_campign_id`, text, required): Marketing campaign ObjectId.
- Market ID (`market_id`, text, required): Market ObjectId.
- Pipeline ID (`pipeline_id`, text, required): Pipeline ObjectId.
- Main status ID (`main_status_id`, text, required): Main status ObjectId.
- Lead created (`lead_created`, date): Lead created date.
- Tag IDs (`tag_ids`, list): Array of tag ObjectIds.
- Is hot lead (`is_hot_lead`, true/false): Flag lead as hot.
- Comment (`comment`, text): Optional comment.
- Preference answers (`preference_answers`, list): Preference answers payload.

**Outputs**

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

**Example output**

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

### Delete lead

Soft-delete a lead by id.

**Inputs**

- Lead ID (`lead_id`, text, required): Lead ObjectId.

**Outputs**

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

**Example output**

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

### Get a buyer

Full buyer detail by buyerId.

**Inputs**

- Buyer ID (`id`, text, required): Buyer ObjectId (required).

**Outputs**

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

**Example output**

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

### Get a lead

Full lead detail by leadId.

**Inputs**

- Lead ID (`lead_id`, text, required): Lead ObjectId.

**Outputs**

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

**Example output**

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

### Get a vendor

Full vendor detail by vendorId.

**Inputs**

- Vendor ID (`vendor_id`, text, required): Vendor ObjectId (required).

**Outputs**

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

**Example output**

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

### Get an agent

Full agent detail by agentId.

**Inputs**

- Agent ID (`agent_id`, text, required): Agent ObjectId (required).

**Outputs**

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

**Example output**

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

### Get connected account

API used to validate integration access token.

**Inputs**: None.

**Outputs**

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

**Example output**

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

### Get markets

API used to get markets with integration token.

**Inputs**: None.

**Outputs**

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

**Example output**

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

### Get pipeline list

Retrieve all pipelines for given module IDs.

**Inputs**

- Module type (`module_type`, number, required): 1 = Lead, 2 = Buyer, 3 = Vendor, 4 = Agent, 5 = List stacking. One of: `1` (Lead), `2` (Buyer), `3` (Vendor), `4` (Agent), `5` (List stacking).
- Page number (`page`, number): Page. At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.
- Search string (`search_string`, text): Optional search filter.
- Pipeline ID (`pipeline_id`, text): Optional pipeline ObjectId.

**Outputs**

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

**Example output**

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

### List agents

Paginated agent list with search, filters, and sort.

**Inputs**

- Search string (`search_str`, text): Search string (lowercase). Allows empty or null.
- Main status IDs (`main_status_id`, list): Filter by main status ObjectIds.
- Pipeline ID (`pipeline_id`, text): Filter by pipeline ObjectId.
- Assign user IDs (`assign_user`, list): Filter by assigned user ObjectIds.
- Tag IDs (`tag_ids`, list): Filter by tag ObjectIds.
- Target cities (`target_cities`, list): Filter by target cities.
- Target states (`target_states`, list): Filter by target states.
- Page (`page`, number): Page number (default: 1). At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### List buyers

Paginated buyer list with search, filters, and sort.

**Inputs**

- Search string (`search_str`, text): Search string (lowercase). Allows empty or null.
- Main status IDs (`main_status_id`, list): Filter by main status ObjectIds.
- Pipeline ID (`pipeline_id`, text): Filter by pipeline ObjectId.
- Assign user IDs (`assign_user`, list): Filter by assigned user ObjectIds.
- Tag IDs (`tag_ids`, list): Filter by tag ObjectIds.
- Target cities (`target_cities`, list): Filter by target cities.
- Target states (`target_states`, list): Filter by target states.
- Page (`page`, number): Page number (default: 1). At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### List contacts

Paginated contacts. Returns first name, last name, phone numbers, and emails.

**Inputs**

- Search string (`search_str`, text): Search first name, last name, phone number, or email. searchString is also accepted.
- Page (`page`, number): Page number (default: 1). At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### List leads

Paginated lead list with filters.

**Inputs**

- Search string (`search_str`, text): Search string (lowercase). Allows empty or null.
- Main status IDs (`main_status_id`, list): Filter by main status ObjectIds.
- Pipeline ID (`pipeline_id`, text): Filter by pipeline ObjectId.
- Page (`page`, number): Page number (default: 1). At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### List vendors

Paginated vendor list with search, filters, and sort.

**Inputs**

- Search string (`search_str`, text): Search string (lowercase). Allows empty or null.
- Main status IDs (`main_status_id`, list): Filter by main status ObjectIds.
- Pipeline ID (`pipeline_id`, text): Filter by pipeline ObjectId.
- Assign user IDs (`assign_user`, list): Filter by assigned user ObjectIds.
- Tag IDs (`tag_ids`, list): Filter by tag ObjectIds.
- Target cities (`target_cities`, list): Filter by target cities.
- Target states (`target_states`, list): Filter by target states.
- Page (`page`, number): Page number (default: 1). At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### Update lead status

Move a lead to another pipeline status. leadId, pipelineId, and mainStatusId are required.

**Inputs**

- Lead ID (`lead_id`, text, required): Lead ObjectId.
- Pipeline ID (`pipeline_id`, text, required): Target pipeline ObjectId.
- Main status ID (`main_status_id`, text, required): Target status ObjectId.
- Task type assignment (`task_type_assignment`, text): How open tasks are handled when the status changes. Omit or NONE to leave tasks unchanged. One of: `NONE`, `ALL_COMPLETED` (Complete all tasks), `MY_COMPLETED` (Complete my tasks).

**Outputs**

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

**Example output**

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

### User list

Returns account users for dropdown usage.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Results per page (minimum: 1, maximum: 100). From 1 to 100.

**Outputs**

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

**Example output**

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

### Vendor categories

Returns all vendor categories.

**Inputs**: None.

**Outputs**

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

**Example output**

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

### Vendor subcategories

Returns vendor subcategories for a category.

**Inputs**

- Category ID (`category_id`, text, required): Category ObjectId (required).

**Outputs**

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

**Example output**

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