tr Skip to content
Black Friday Lifetime FlowMattic from $399 One payment, unlimited workflows. Ends in --Days --Hrs --Min --Sec See the deal

When a Dukaan order status is updated, record the details in Google Sheet

Every time a Dukaan order’s status changes, a new row with the order details is added to your Google Sheet, building a status log you can sort and filter.

Dukaan App Google Sheets

2 steps Setup ~5 min Used on 1.8k sites Free to import

The When a Dukaan order status is updated, record the details in Google Sheet workflow on the FlowMattic canvas, with 2 steps across Dukaan App, Google Sheets
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Dukaan shows an order's current status, but not always an easy way to see how orders moved over a week or a month. A running log in Google Sheets gives you that view. This workflow writes one row each time an order's status is updated, so you can count cancellations, spot orders stuck in processing, or share the history with someone who doesn't use your Dukaan dashboard.

The Dukaan Order Status Updated trigger starts a run whenever there is an update on an order's status. It doesn't matter which status the order moves to: every change starts a run, and the order data is passed on.

The Google Sheets step then adds a new row. It ships unmapped, so after import you pick the spreadsheet and sheet and map order fields into your columns, such as the order ID, the new status, the customer and the total.

Because each change adds a row, an order that moves to accepted, then shipped, then delivered appears three times. That's what makes the sheet a history. If you'd rather log only one status, such as cancelled, add a Filter as shown in the tips. Run a test by changing a test order's status and check Task History for the data Dukaan sent.

Cancellation and return reports

A fashion store filters the log for cancelled and returned statuses each month to see which products and customers they come from.

Fulfilment checks for a small team

The owner sorts the sheet by order ID and status to find orders that were accepted days ago but never moved to shipped.

Status history for your accountant

A grocery seller on Dukaan shares the sheet with an accountant, who reconciles delivered orders against payouts without a store login.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Dukaan App Order Status Updated

    Fires each time a Dukaan order's status is updated, whatever the new status is. The order's details, including its ID and status, are passed to the Google Sheets step.

  2. Step 2Action
    Google Sheets Add New Row

    Adds a new row to your spreadsheet for every status change. The template leaves the columns unmapped, so pick the sheet and match the Dukaan order fields to the columns you want.

What you need

  • FlowMatticCore
  • Dukaan App AccountAccount
  • Google Sheets AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Map the order's status into its own column, so you can filter the sheet by status or count rows per status with a formula.
  • Put a Filter between the Dukaan trigger and the Google Sheets step that continues only when the status contains cancel, if you want a cancellations-only sheet. Check a test run for the exact status text Dukaan sends.
  • Leave a blank column at the end of the sheet for your own notes, such as a cancellation reason. The workflow only fills the columns you map, so it won't touch it.
  • Freeze the header row in Google Sheets and keep column names stable, since the mapping in the step points at those columns.

Questions about this workflow

Will one Dukaan order create several rows?

Yes. Each status update starts a run and adds a new row, so an order shows up once for each change. Sort by order ID to read its history.

Can I log only cancelled Dukaan orders?

Yes. Put a Filter between the Order Status Updated trigger and the Add New Row step, checking that the status field contains cancel. Every other change then stops before reaching the sheet.

Are orders from before I turned the workflow on added?

No. Only status changes that happen while the workflow is active start a run. Export older orders from Dukaan if you want them in the sheet.

Does it update the existing row when the status changes again?

No. The Google Sheets step only adds rows, so the earlier entry stays as it was and a new one is added below it.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It's very straightforward, has a lot integrations and they work well. It is one thing to 'integrate' new external software, but integrating it well, with lots of options is where FlowMattic shines.

Koen A.

Works within WordPress, so it can easily access any inbuilt WP functions or custom functions and use them in your flow. It's easy to use and already has many useful integrations built.