Skip to content
Qawafel

How to use Qawafel

CommerceCost: 1 credit per runTechnical reference

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

  1. 1Sign in to Qawafel and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Qawafel step, click "Connect" and paste it into: Environment, API Key.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
EnvironmentFixed listYes
API KeySecret keyYes

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
FieldTypeRequired
Status to listen forFixed listYes
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
FieldTypeRequired
Product TypeFixed listYes
SKUTextYes
Name (English)TextYes
Name (Arabic)TextYes
Unit Price (SAR)TextYes
SupplierList (from your account)No
VAT AppliesYes / NoNo
Description (English)Long textNo
Description (Arabic)Long textNo
BarcodeTextNo
ActiveYes / NoNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Update Product6 fields
FieldTypeRequired
Product to updateList (from your account)Yes
New Unit Price (SAR)TextNo
New Description (English)Long textNo
New Description (Arabic)Long textNo
ActiveYes / NoNo
Duplicate Protection KeyTextNo
Get Product1 fields
FieldTypeRequired
Product IDTextYes
List Products5 fields
FieldTypeRequired
Product Type (filter)Fixed listNo
SKU (filter)TextNo
Supplier ID (filter)TextNo
Active onlyYes / NoNo
Created afterDate and timeNo
Create Completed Order15 fields
FieldTypeRequired
CustomerList (from your account)Yes
Line ItemsList of valuesYes
Delivery Address — StreetTextYes
Delivery Address — CityTextYes
Delivery Address — Postal CodeTextYes
Delivery Address — CountryTextYes
Delivery Address — DistrictTextNo
Delivery Address — RegionTextNo
Saudi Short AddressTextNo
Delivery MethodFixed listNo
Delivery Fees (SAR)TextNo
Who Pays DeliveryFixed listNo
NotesLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Update Order Status4 fields
FieldTypeRequired
Order IDTextYes
New StatusList (from your account)Yes
Reason (only used when marking Not Delivered)Long textNo
Duplicate Protection KeyTextNo
Cancel Order3 fields
FieldTypeRequired
Order IDTextYes
Cancellation ReasonLong textNo
Duplicate Protection KeyTextNo
Get Order1 fields
FieldTypeRequired
Order IDTextYes
List Orders3 fields
FieldTypeRequired
Status (filter)Fixed listNo
Customer (filter)List (from your account)No
Created AfterDate and timeNo
Create Merchant (Customer or Supplier)19 fields
FieldTypeRequired
Merchant TypeFixed listYes
Legal NameTextYes
Trade Name (English)TextYes
Trade Name (Arabic)TextYes
EmailTextYes
PhoneTextYes
Commercial Registration (CR) NumberTextYes
VAT NumberTextYes
Unified National NumberTextNo
VAT RegisteredYes / NoNo
Address — StreetTextYes
Address — CityTextYes
Address — Postal CodeTextYes
Address — CountryTextYes
Address — DistrictTextNo
Address — RegionTextNo
Saudi Short AddressTextNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Update Merchant5 fields
FieldTypeRequired
Merchant to updateList (from your account)Yes
New Trade Name (English)TextNo
New Trade Name (Arabic)TextNo
ActiveYes / NoNo
Duplicate Protection KeyTextNo
Create Invoice11 fields
FieldTypeRequired
CustomerList (from your account)Yes
Issue DateDate and timeYes
Due DateDate and timeYes
Line ItemsList of valuesYes
Linked Order IDTextNo
Shipping Fees (SAR)TextNo
Payment Window StartDate and timeNo
Final Payment Due DateDate and timeNo
NotesLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Get Invoice1 fields
FieldTypeRequired
Invoice IDTextYes
List Invoices3 fields
FieldTypeRequired
Status (filter)Fixed listNo
Customer (filter)List (from your account)No
Created AfterDate and timeNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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