← All use cases

Refunds waiting more than 3 days

Refund requests nobody has approved or rejected yet.

Category
Customers
Team
Customer Support
Priority
medium
Runs
Every hour

Why watch it

A refund that sits in a queue turns into a second ticket, then a complaint. A clear policy in the playbook keeps answers consistent.

The query

Every row it returns is a case to handle. Run it every so often and Pulso opens a signal only for rows it has not seen before.

SQL Every hour
SELECT o.number AS order_number, c.name AS customer, c.email, r.amount_eur, r.reason, r.requested_at
FROM refunds r
JOIN orders o ON o.id = r.order_id
JOIN customers c ON c.id = o.customer_id
WHERE r.status = 'pending' AND r.requested_at < now() - interval '3 days'
Unique by order_number

The signal

Its title uses the row’s columns, so the inbox reads like a to-do list:

Refund for {{ order_number }} is waiting

medium Customer Support

Set up “Refunds waiting more than 3 days” in minutes

Connect your database, paste the query, adjust the table names and pick who handles the signals. Free during early access.