E-commerce Returns Automation Workflow Log
This dataset provides a detailed log of e-commerce return events and the associated automation workflow steps, including timestamps, actors, outcomes, and exception handling. It enables supply chain managers and process engineers to analyze return processing efficiency, identify manual interventions, and optimize automation strategies for reduced costs and improved customer experience.
Sample rows
preview · 8 of 120 rows · all 21 columns| return_event_idstring | return_location_countrystring | step_duration_secondsfloat | return_location_citystring | order_idstring | customer_idstring | product_idstring | return_reasonstring | return_initiated_atdatetime | return_statusstring | workflow_stepstring | step_executed_atdatetime | step_typestring | step_actor_idstring | step_outcomestring | exception_detailsstring | return_location_streetstring | return_location_statestring | return_location_postal_codestring | refund_amountfloat | refund_issued_atdatetime |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RET-10001 | blank | 12.5 | blank | ORD-30021 | CUST-2011 | PRD-5021 | Size too small | 2024-05-03T10:23:11 | initiated | label_generated | 2024-05-03T10:24:00 | automated | system_rma | success | blank | blank | blank | blank | blank | blank |
| RET-10002 | blank | 24.8 | blank | ORD-30022 | CUST-2012 | PRD-5022 | Wrong color | 2024-05-07T14:34:55 | pending_pickup | pickup_scheduled | 2024-05-07T14:36:10 | automated | system_pickup | success | blank | blank | blank | blank | blank | blank |
| RET-10003 | USA | 1800 | Atlanta | ORD-30023 | CUST-2013 | PRD-5023 | Defective item | 2024-05-10T09:40:23 | in_transit | pickup_confirmed | 2024-05-10T10:10:05 | manual | EMP-0012 | success | blank | 535 Commerce Blvd | GA | 30318 | blank | blank |
| RET-10004 | USA | 1499.7 | Los Angeles | ORD-30024 | CUST-2014 | PRD-5024 | Item not as described | 2024-05-15T11:20:15 | received | package_received | 2024-05-15T11:45:00 | automated | system_warehouse | success | blank | 1200 W 7th St | CA | 90017 | blank | blank |
| RET-10005 | USA | 1678.1 | San Francisco | ORD-30025 | CUST-2015 | PRD-5025 | Changed mind | 2024-05-18T15:32:08 | inspected | manual_review | 2024-05-18T16:00:00 | manual | EMP-0045 | success | blank | 420 Market St | CA | 94111 | blank | blank |
| RET-10006 | USA | 1852 | New York | ORD-30026 | CUST-2016 | PRD-5026 | Duplicate order | 2024-05-20T13:14:25 | approved | refund_processed | 2024-05-20T13:45:00 | automated | system_refund | success | blank | 10 Hudson Yards | NY | 10001 | 78.99 | 2024-05-20T14:10:00 |
| RET-10007 | USA | 1799.5 | Phoenix | ORD-30027 | CUST-2017 | PRD-5027 | Incorrect item shipped | 2024-05-22T08:45:13 | completed | return_completed | 2024-05-22T09:15:00 | automated | system_rma | success | blank | 2200 N Central Ave | AZ | 85004 | 49.5 | 2024-05-22T09:30:00 |
| RET-10008 | blank | 8.2 | blank | ORD-30028 | CUST-2018 | PRD-5028 | Wrong size | 2024-05-23T17:05:49 | initiated | label_generated | 2024-05-23T17:06:00 | automated | system_rma | success | blank | blank | blank | blank | blank | blank |
| RET-10009 | blank | 18.7 | blank | ORD-30029 | CUST-2019 | PRD-5029 | Arrived late | 2024-05-25T12:22:11 | pending_pickup | pickup_scheduled | 2024-05-25T12:23:00 | automated | system_pickup | success | blank | blank | blank | blank | blank | blank |
| RET-10010 | USA | 1620.3 | New York | ORD-30030 | CUST-2020 | PRD-5030 | Did not fit | 2024-05-27T09:33:05 | in_transit | pickup_confirmed | 2024-05-27T10:00:00 | manual | EMP-0021 | exception | Courier delayed pickup due to traffic. | 310 Broadway | NY | 10007 | blank | blank |
| RET-10011 | USA | 1789.4 | Dallas | ORD-30031 | CUST-2021 | PRD-5031 | Item damaged | 2024-05-28T11:45:23 | received | package_received | 2024-05-28T12:15:00 | automated | system_warehouse | success | blank | 1000 Main St | TX | 75202 | blank | blank |
| RET-10012 | USA | 1495.8 | Phoenix | ORD-30032 | CUST-2022 | PRD-5032 | Poor quality | 2024-05-29T16:20:05 | inspected | manual_review | 2024-05-29T16:45:00 | manual | EMP-0033 | success | blank | 5600 N 7th Ave | AZ | 85013 | blank | blank |
| RET-10013 | USA | 1150.3 | Atlanta | ORD-30033 | CUST-2023 | PRD-5033 | Wrong item | 2024-05-30T10:35:41 | approved | refund_processed | 2024-05-30T10:55:00 | automated | system_refund | exception | Payment gateway timeout. | 200 Peachtree St | GA | 30303 | 64 | blank |
| RET-10014 | USA | 1310.7 | Phoenix | ORD-30034 | CUST-2024 | PRD-5034 | Not needed | 2024-05-31T18:48:03 | completed | return_completed | 2024-05-31T19:10:00 | automated | system_rma | success | blank | 2200 N Central Ave | AZ | 85004 | 32.75 | 2024-05-31T19:15:00 |
| RET-10015 | blank | 20.1 | blank | ORD-30035 | CUST-2025 | PRD-5035 | Size too large | 2024-06-01T14:10:09 | initiated | label_generated | 2024-06-01T14:14:00 | automated | system_rma | success | blank | blank | blank | blank | blank | blank |
| RET-10016 | blank | 15.3 | blank | ORD-30036 | CUST-2026 | PRD-5036 | Defective zipper | 2024-06-02T09:55:17 | pending_pickup | pickup_scheduled | 2024-06-02T09:58:00 | automated | system_pickup | success | blank | blank | blank | blank | blank | blank |
| RET-10017 | USA | 1780.6 | Phoenix | ORD-30037 | CUST-2027 | PRD-5037 | Product not as described | 2024-06-03T13:25:36 | in_transit | pickup_confirmed | 2024-06-03T13:55:00 | manual | EMP-0052 | success | blank | 218 S 1st Ave | AZ | 85003 | blank | blank |
| RET-10018 | USA | 1356.4 | Los Angeles | ORD-30038 | CUST-2028 | PRD-5038 | Package damaged | 2024-06-04T17:17:27 | received | package_received | 2024-06-04T17:40:00 | automated | system_warehouse | success | blank | 1200 W 7th St | CA | 90017 | blank | blank |
| RET-10019 | USA | 2378.2 | New York | ORD-30039 | CUST-2029 | PRD-5039 | Unwanted gift | 2024-06-05T12:30:54 | inspected | manual_review | 2024-06-05T13:10:00 | manual | EMP-0063 | failure | blank | 10 Hudson Yards | NY | 10001 | blank | blank |
| RET-10020 | USA | 1919 | San Francisco | ORD-30040 | CUST-2030 | PRD-5040 | Wrong product | 2024-06-06T10:08:11 | approved | refund_processed | 2024-06-06T10:40:00 | automated | system_refund | success | blank | 420 Market St | CA | 94111 | 25 | 2024-06-06T10:45:00 |
What the 120 rows show
from the 120-row sampleCanada (return location country) stands out: mean step_
- 42.1median step_
duration_ seconds - 2step types
- 3step outcomes
- 8return statuses
- 15workflow steps
- 20return location states
Median 42.1, from 5.6 to 2,378.
- string 16
- float 2
- datetime 3
Columns
21 columns in three groups| column | type | description | example |
|---|---|---|---|
| Text 16 columns | |||
return_event_id | string | Unique identifier for each return event in the workflow log.unique | RET-10001 |
order_id | string | Unique identifier for the original e-commerce order associated with the return. | ORD-30021 |
customer_id | string | Unique identifier for the customer initiating the return. | CUST-2011 |
product_id | string | Unique identifier for the product being returned. | PRD-5021 |
return_reason | string | Reason provided by the customer for returning the product.optional | Size too small |
return_status | string | Current status of the return event in the workflow.8 values | initiated |
workflow_step | string | Name of the automation or manual step executed (e.g., 'label_generated', 'pickup_scheduled', 'manual_review'). | label_generated |
step_type | string | Indicates whether the step was automated or manual.automated · manual | automated |
step_actor_id | string | Identifier for the system, user, or employee who executed the step (system name or employee ID).optional | system_rma |
step_outcome | string | Outcome of the workflow step (e.g., 'success', 'failure', 'exception').success · failure · exception · optional | success |
exception_details | string | Detailed description of any exception or error encountered during the workflow step.optional | Payment gateway timeout. |
return_location_street | string | Street address where the returned item was received or processed.optional | 535 Commerce Blvd |
return_location_city | string | City where the returned item was received or processed.optional | Atlanta |
return_location_state | string | State or province where the returned item was received or processed.optional | GA |
return_location_postal_code | string | Postal code for the return processing location.optional | 30318 |
return_location_country | string | Country where the return was processed.2 countries · optional | USA |
| Numbers 2 columns | |||
step_duration_seconds | float | Time taken (in seconds) to complete this workflow step.0 or more · optional | 12.5 |
refund_amount | float | Amount refunded to the customer for this return event.0 or more · optional | 78.99 |
| Dates and times 3 columns | |||
return_initiated_at | datetime | Timestamp when the return process was initiated. | 2024-05-03T10:23:11 |
step_executed_at | datetime | Timestamp when this workflow step was executed. | 2024-05-03T10:24:00 |
refund_issued_at | datetime | Timestamp when the refund was issued.optional | 2024-05-20T14:10:00 |
Use it for
An e-commerce dashboard
Step_
duration_ seconds by return_ location_ country and a breakdown of return_ location_ city. Excel, Power BI or Tableau. Why do the 35 Canada rows have a mean step_
duration_ seconds of 59.8? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Return events120RET-1000112.5—RET-1000224.8—RET-100031800USA
A software demo
Believable return events with order_
id, customer_ id and product_ id to fill a screen in front of a buyer.
blueprint · e-commerce-returns-automation-workflow-log
Behind this dataset
Same schema. As many rows as you need.
These 120 rows came out of a blueprint — 21 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Each row represents a unique product return event.
- Workflow stage must map to predefined automation steps (e.g., initiated, validated, approved, processed, shipped).
- Manual intervention flag is required if automation fails or exceptions occur.
- Timestamp sequence must reflect actual event flow.
- Return reason codes must use a standardized taxonomy.
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- e-commerce-returns-automation-workflow-log