What it is for
B2B marketplace and ZATCA-compliant document platform — sync products, orders, merchants and invoices with Saudi Arabia's leading wholesale network.
Qawafel triggers react instantly to events in the app.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Qawafel and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Qawafel step, click "Connect" and paste it into: Environment, API Key.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Environment | Fixed list | Yes |
| API Key | Secret key | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Product: fill in Product Type, SKU, Name (English), Name (Arabic), Unit Price (SAR); use the data selector to map values from earlier steps.
- Update Product: fill in Product to update; use the data selector to map values from earlier steps.
- Get Product: fill in Product ID; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (8)
Events that can start a flow. Expand each one to see its fields.
New OrderWebhook (paste the URL in the app)0 fields
No fields to configure.
Order Status ChangedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Status to listen for | Fixed list | Yes |
Invoice PaidWebhook (paste the URL in the app)0 fields
No fields to configure.
New Invoice GeneratedWebhook (paste the URL in the app)0 fields
No fields to configure.
New Product PublishedWebhook (paste the URL in the app)0 fields
No fields to configure.
Product UpdatedWebhook (paste the URL in the app)0 fields
No fields to configure.
New Merchant RegisteredWebhook (paste the URL in the app)0 fields
No fields to configure.
Refund / Credit Note CreatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Actions (15)
Operations available as flow steps. Expand each one to see its fields.
Create Product13 fields
| Field | Type | Required |
|---|---|---|
| Product Type | Fixed list | Yes |
| SKU | Text | Yes |
| Name (English) | Text | Yes |
| Name (Arabic) | Text | Yes |
| Unit Price (SAR) | Text | Yes |
| Supplier | List (from your account) | No |
| VAT Applies | Yes / No | No |
| Description (English) | Long text | No |
| Description (Arabic) | Long text | No |
| Barcode | Text | No |
| Active | Yes / No | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Update Product6 fields
| Field | Type | Required |
|---|---|---|
| Product to update | List (from your account) | Yes |
| New Unit Price (SAR) | Text | No |
| New Description (English) | Long text | No |
| New Description (Arabic) | Long text | No |
| Active | Yes / No | No |
| Duplicate Protection Key | Text | No |
Get Product1 fields
| Field | Type | Required |
|---|---|---|
| Product ID | Text | Yes |
List Products5 fields
| Field | Type | Required |
|---|---|---|
| Product Type (filter) | Fixed list | No |
| SKU (filter) | Text | No |
| Supplier ID (filter) | Text | No |
| Active only | Yes / No | No |
| Created after | Date and time | No |
Create Completed Order15 fields
| Field | Type | Required |
|---|---|---|
| Customer | List (from your account) | Yes |
| Line Items | List of values | Yes |
| Delivery Address — Street | Text | Yes |
| Delivery Address — City | Text | Yes |
| Delivery Address — Postal Code | Text | Yes |
| Delivery Address — Country | Text | Yes |
| Delivery Address — District | Text | No |
| Delivery Address — Region | Text | No |
| Saudi Short Address | Text | No |
| Delivery Method | Fixed list | No |
| Delivery Fees (SAR) | Text | No |
| Who Pays Delivery | Fixed list | No |
| Notes | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Update Order Status4 fields
| Field | Type | Required |
|---|---|---|
| Order ID | Text | Yes |
| New Status | List (from your account) | Yes |
| Reason (only used when marking Not Delivered) | Long text | No |
| Duplicate Protection Key | Text | No |
Cancel Order3 fields
| Field | Type | Required |
|---|---|---|
| Order ID | Text | Yes |
| Cancellation Reason | Long text | No |
| Duplicate Protection Key | Text | No |
Get Order1 fields
| Field | Type | Required |
|---|---|---|
| Order ID | Text | Yes |
List Orders3 fields
| Field | Type | Required |
|---|---|---|
| Status (filter) | Fixed list | No |
| Customer (filter) | List (from your account) | No |
| Created After | Date and time | No |
Create Merchant (Customer or Supplier)19 fields
| Field | Type | Required |
|---|---|---|
| Merchant Type | Fixed list | Yes |
| Legal Name | Text | Yes |
| Trade Name (English) | Text | Yes |
| Trade Name (Arabic) | Text | Yes |
| Text | Yes | |
| Phone | Text | Yes |
| Commercial Registration (CR) Number | Text | Yes |
| VAT Number | Text | Yes |
| Unified National Number | Text | No |
| VAT Registered | Yes / No | No |
| Address — Street | Text | Yes |
| Address — City | Text | Yes |
| Address — Postal Code | Text | Yes |
| Address — Country | Text | Yes |
| Address — District | Text | No |
| Address — Region | Text | No |
| Saudi Short Address | Text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Update Merchant5 fields
| Field | Type | Required |
|---|---|---|
| Merchant to update | List (from your account) | Yes |
| New Trade Name (English) | Text | No |
| New Trade Name (Arabic) | Text | No |
| Active | Yes / No | No |
| Duplicate Protection Key | Text | No |
Create Invoice11 fields
| Field | Type | Required |
|---|---|---|
| Customer | List (from your account) | Yes |
| Issue Date | Date and time | Yes |
| Due Date | Date and time | Yes |
| Line Items | List of values | Yes |
| Linked Order ID | Text | No |
| Shipping Fees (SAR) | Text | No |
| Payment Window Start | Date and time | No |
| Final Payment Due Date | Date and time | No |
| Notes | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Get Invoice1 fields
| Field | Type | Required |
|---|---|---|
| Invoice ID | Text | Yes |
List Invoices3 fields
| Field | Type | Required |
|---|---|---|
| Status (filter) | Fixed list | No |
| Customer (filter) | List (from your account) | No |
| Created After | Date and time | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
