LP-CRM
LP-CRM is a CRM for processing orders. Its Webhook module sends the data of an order to an address when the order moves to one of the statuses you choose. Pointed at the Flows address, it starts your flows: an order is confirmed, paid or shipped — and the customer gets the right message in Viber or SMS, with a reminder if nothing happens.
This page is written from the public documentation of LP-CRM — a note about the Webhook module in its blog — and has not been checked on a live account yet. The site of LP-CRM and the note are only in Ukrainian, so the labels are given in Ukrainian, as the note names them.
LP-CRM does not describe the request of the module: the method, the type of the body and the names of the fields are not published. Until they are confirmed, create the connection as Other system and show AlphaFlow the fields once, on a test request.
What you need
- The «Webhook» module in LP-CRM. LP-CRM plans go from Start to Unlimited by the number of orders and users; whether the module is available on every plan is not confirmed by the documentation.
- The module sends one event — a change of the order status — and only for orders that are already saved. Creating an order sends nothing.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Other system. Name the connection "LP-CRM". - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set up the Webhook module in LP-CRM
- Open «Модулі», update the list of modules and install the module «Webhook».
- Open the settings of the module and fill them in:
- «Webhook URL» — the address from the cabinet;
- «Подія в CRM» — «Зміна статусу замовлення», the only event the module has;
- «Статуси CRM» — the statuses that send the order: when an order moves to one of them, the module sends its data;
- «Винятки» — optional: if the previous status of the order is in this list, nothing is sent.
Several statuses fit in one webhook. Whether the module allows several webhooks — one per status — is not confirmed by the documentation.
Step 3. Send a test and show AlphaFlow the fields
- Take a saved test order with your own phone number and move it to one of the chosen statuses.
- Open the connection in the cabinet: it shows the last request as it came — every field with its value.
- Show AlphaFlow the fields as described in Other system: the buyer's phone as the contact, the status field as the event, the id of the order and the status as the event id. Press Save.
The next request becomes an event in
Flows → Connections → Event journal.
Events
| LP-CRM event | AlphaFlow event | Properties |
|---|---|---|
| «Зміна статусу замовлення» | order_status_changed | status and the fields you choose, for example order_id |
| «Зміна статусу замовлення» → your "paid" status | order_paid | the fields you choose, for example order_id, total |
| «Зміна статусу замовлення» → your "shipped" status | order_shipped | the fields you choose, for example order_id, ttn |
| «Зміна статусу замовлення» → your "cancelled" status | order_cancelled | the fields you choose, for example order_id |
The rows with your own statuses come from the table of values that you set for the status field when you choose the event. Name the events the way the ready-made templates expect — see Recommended events.
The module sends the data of the order. That it carries the buyer's phone is likely but not confirmed by the
documentation — look at the test request. A request without a phone, an email or an id is refused with no_contact.
Good to know
- The LP-CRM documentation does not describe repeats or a signature. The secret in the address is enough.
order_createddoes not come from LP-CRM: the module does not send new orders.- If the order data carries a tracking number, take it as the
ttnproperty; AlphaFlow does not track the parcel itself. - The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the module in LP-CRM keeps sending.