---
title: "CRM"
description: "Liidit ja myyntiputki. Jokainen sovellus on moduuli samalla tietomallilla."
canonical: "https://obop-platform.sliplane.app/fi/apps/crm/"
lang: "fi"
---

# CRM

## Mihin se on tarkoitettu

Keep track of prospective deals from first contact to won or lost. A lead has a title, a contact, an expected revenue and a stage, and moving it along the pipeline is a named action that the team and its agents can both run.

## Mitä paketti tekee ja mitä ei

Leads and the sales pipeline.

## Mallit

### `lead`

A prospective deal with a contact

Lukuryhmä: `crm.user`. Kirjoitusryhmä: `crm.user`.

| Kenttä | Tyyppi | Tietoluokka | Henkilötieto | Ryhmä | Agentit näkevät | Kuvaus |
|---|---|---|---|---|---|---|
| `title` | text | `none` | ei | `crm.user` | selkoisena | Short description of the opportunity |
| `contact_name` | text | `public_directory` | kyllä | `crm.user` | maskattu | Name of the contact person |
| `contact_email` | text | `public_directory` | kyllä | `crm.user` | maskattu | Email of the contact person |
| `expected_revenue_minor` | money | `none` | ei | `crm.user` | selkoisena | Expected revenue in minor units |
| `stage` | select (new, qualified, won, lost) | `none` | ei | `crm.user` | selkoisena | Pipeline stage: new, qualified, won or lost |

## Työnkulut

### `lead`

| Toiminto | Siirtää | Kuka voi suorittaa | Hyväksyntä |
|---|---|---|---|
| `lead.qualify` | stage: new → qualified | `crm.user` | ei |
| `lead.mark_won` | stage: * → won | `crm.user` | ei |
| `lead.mark_lost` | stage: * → lost | `crm.user` | ei |
| `lead.reopen` | stage: * → new | `crm.user` | ei |

## Käyttöoikeusryhmät

Tämän sovelluksen käyttämät ryhmät:

- `crm.user`

## Hyväksyntävaiheet

Mikään tämän sovelluksen vaihe ei vaadi hyväksyntää tietueiden poistamista lukuun ottamatta.

## Mitä agentit voivat ja eivät voi tehdä

Agentti voi lukea, hakea, luoda ja päivittää tämän sovelluksen tietueita sekä suorittaa toiminnot, jotka eivät vaadi hyväksyntää, tunnisteensa käyttöoikeusryhmien rajoissa.

Se voi vain ehdottaa näitä vaiheita, ja ihmisen on hyväksyttävä ne: `lead.delete`.

Henkilötiedot maskataan paikkamerkeiksi: `lead.contact_name`, `lead.contact_email`.

## Riippuvuudet

- `base`

## Asennus

Sisäänrakennettu. Se on käytettävissä jokaisessa instanssissa, eikä sitä voi poistaa.

## Tee oma

[Moduulioppaassa näytetään, miten tällaiset sovellukset kirjoitetaan](/fi/docs/reference/module-manifest/)
