weclapp connector
The weclapp connector: exchange purchase orders, supplier invoices, articles and serial numbers between equipme and your weclapp ERP – connection, triggers, actions, examples.
Path: sidebar → "Automation" → "Workflows" → flow designer → connector "Weclapp"
With the weclapp connector, you connect equipme in workflows with your weclapp ERP. Orders and invoices from equipme reach your accounting without retyping, and article or serial number data from weclapp becomes available in equipme.
What for?
Orders into the ERP: Create an approved order from equipme as a purchase order with your supplier in weclapp.
Invoices into accounting: Record new invoices from equipme as supplier invoices in weclapp – including cost center and cost type.
Serial numbers for devices: Retrieve serial numbers from weclapp and write them to the matching assets in equipme.
Keep the article master in sync: When a new article is created in weclapp, notify the team or update data in equipme.
Track shipments: Retrieve shipments from weclapp and pass the status on to employees or purchasing.
Prerequisites
The activated Automation module
A weclapp account (tenant) with a user who may read and edit the required areas (e.g. purchasing, accounting, warehouse)
The API token of this user (in weclapp under the user's personal settings)
For the triggers: the user must be allowed to create webhooks in weclapp
Setting up the connection
Copy the user's API token in weclapp and note the tenant name – the first part of your weclapp address (for
mycompany.weclapp.comit ismycompany).In the flow designer, drag a component of the weclapp connector onto the canvas (e.g. ListArticles).
Click Connect account and enter:
Tenant – the tenant name
Token – the API token
The connection is checked against weclapp and saved under the tenant name. It is then available in all weclapp components and appears under "Accounts".
Triggers
NewArticle
a new article is created in weclapp. Returns the complete article.
ChangedSalesOrder
a sales order is changed in weclapp. Returns the complete order.
Neither trigger has settings. Once the flow is started, weclapp reports the event to equipme immediately; there is no periodic polling.
Actions
Customers and articles
AddCustomer
Create a customer (organization)
Required: "Company", "Country code", "Sales channel"; optional email, "Customer number", address, contacts, "Additional fields" (custom attributes)
ListCustomers
List customers
"Filter"
GetArticle
Read an article
"Article ID"
ListArticles
List articles
"Filter"
Purchasing
AddPurchaseOrder
Create a purchase order with a supplier
Required: "Supplier", "Warehouse"; items, shipping costs, payment type and terms, "Delivery conditions", planned delivery dates, service period, tracking number and tracking URL
AddPurchaseInvoice
Record a supplier invoice
Required: "Supplier"; "Invoice number", "Invoice date", "Due date", items, shipping costs, "Cost center", "Cost type", "Booking date", "Booking text", "Payment block"
Sales and contracts
AddSalesOrder
Create a sales order
Required: "Customer ID", "Sales channel"; differing delivery and billing address, items, payment method, "Warehouse", delivery dates
GetSalesOrder / ListSalesOrders
Read sales orders
"Order ID"
CancelSalesOrder
Cancel or manually close a sales order
"Order ID"
AddSalesInvoice
Create a sales invoice
Required: "Customer ID", "Sales channel"; items, due date, dunning block, cost center
AddContract
Create a contract
Required: "Label", "Sales channel"; contract partner, term, status, items, billing type, reminder
Warehouse and logistics
GetShipment / ListShipments
Read shipments
"Shipment ID" or "Filter"
GetSerialNumber / ListSerialNumbers
Read serial numbers
"Serial Number ID" or "Filter"
Specifying items
Orders, invoices, sales orders and contracts accept items in two ways:
"Items (static)" – enter items one by one in the form: "Article ID", "Position title", "Description", "Quantity", "Unit" and price. Items with quantity 0 are skipped.
"Items (dynamic)" – pass a ready-made item list from a previous step, e.g. the items of an order from equipme.
Shipping costs work the same way ("Shipping costs (static)" / "Shipping costs (dynamic)").
Filters in list actions
ListArticles, ListCustomers, ListShipments and ListSerialNumbers offer a "Filter" made of conditions: "Property" (field name in weclapp, e.g. articleNumber), "Operator" (e.g. "equals", "like expression", "is null") and value. Conditions can be combined with AND and OR.
Examples
Create an order from equipme as a purchase order
Trigger: Equipme › New Order Request or a step from the "Equipme Approval" module after approval (see equipme connector).
Weclapp › ListArticles with the filter
articleNumber"equals" part number to find the matching "Article ID".Weclapp › AddPurchaseOrder with supplier, warehouse and items.
Email › Send Email: order number to purchasing.
Invoices from equipme into accounting
Trigger: Equipme › New Invoice.
Weclapp › AddPurchaseInvoice with supplier, invoice number, invoice and due date and the "Cost center" matching the cost center in equipme.
Optionally set "Payment block" until the invoice has been checked.
Write serial numbers to assets
Trigger: scheduler (e.g. daily).
Weclapp › ListSerialNumbers with a filter for new entries.
Equipme › List Service Instances to find the matching asset.
Equipme › Set Service Instance Metadata: save the serial number as metadata – visible in equipme under "Additional information".
Notes and limitations
The triggers only react to new articles and changed sales orders. For other events, combine a scheduler with a list action.
List actions return the first result page from weclapp, not necessarily all entries. Use filters to keep the result small.
ListSalesOrders has no filter.
A differing delivery or billing address is only applied if a "Country code" is entered there.
All actions work with the permissions of the weclapp user whose token you use.
Troubleshooting
"Connect account" fails
Check the tenant name (only the first part of the address, without .weclapp.com) and the token.
Select field stays empty
The connection is missing or the user may not read the area (e.g. warehouse, cost centers).
Trigger does not fire
Is the flow started? May the user create webhooks in weclapp? After changes, stop and restart the flow.
Error when creating a record
Required fields are missing or IDs do not match (e.g. "Customer ID", "Article ID"). Determine IDs beforehand with a list or get action.
List incomplete
Use filters; without a filter only the first page is returned.
The logs under "Insights" help with errors. For assistance, contact Support and include the flow name, component and error message.
Frequently asked questions
Where do I find the "Article ID" or "Customer ID"?
It is the internal ID of the record in weclapp, not the article or customer number. Determine it with ListArticles or ListCustomers and a filter on the number.
Do I need a separate connection for each flow?
No. One connection per weclapp tenant is enough; it is available to all flows under "Accounts".
Can I fill custom fields from weclapp?
For AddCustomer and AddSalesOrder via "Additional fields (dynamic)". You pass the values as a list from a previous step.
Was this helpful?