Recued
Menu
← Back to recipes

Release worker money

by recued-core v1 52 views

Use “Release worker money” in Recued. Combines up to 49 eligible jobs and adjustments into one settlement while preserving every included amount for a clear payment history.

Complete workflow

Fleet Money 27 pinned recipes

Use Fleet Money in Recued to run assigned jobs and worker payments from offer through settlement. Record arrivals, completion, and customer payments; hold earnings for complaints; correct mistakes with a clear history; and let approved fleet managers use the same guided actions.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Release worker money
This recipe

Use “Release worker money” in Recued. Combines up to 49 eligible jobs and adjustments into one settlement while preserving every included amount for a clear payment history.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
Capture job reply
Background automation

Use “Capture job reply” in Recued. Reads a worker’s emailed reply to a dispatched job and takes or passes it on their behalf.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Workers” in Recued. Shows workers in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Jobs” in Recued. Shows jobs in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Settlements” in Recued. Shows settlements in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
Show all 27 recipes

Use “Settlement items” in Recued. Shows settlement items in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Adjustments” in Recued. Shows adjustments in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show worker” in Recued. Shows the latest details for one worker, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show job” in Recued. Shows the latest details for one job, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show settlement” in Recued. Shows the latest details for one settlement, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show settlement item” in Recued. Shows the latest details for one settlement item, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show adjustment” in Recued. Shows the latest details for one adjustment, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Create worker” in Recued. Adds a worker with contact details, the currency they are paid in, a default share, and a hold period.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Edit worker terms” in Recued. Updates a worker’s contact details and defaults for future jobs without changing jobs that already exist.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Create job” in Recued. Creates an offered job for a customer at an agreed price, with or without a worker chosen yet.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Schedule job” in Recued. Sets or changes when a job is due, where it is, and what the work involves.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Assign job” in Recued. Chooses the worker for a job, or moves it to a different worker before the work has started.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Accept job” in Recued. Accepts an offered job after confirming that nobody else has changed it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Decline job” in Recued. Declines an offered job after confirming that nobody else has changed it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Cancel job” in Recued. Cancels a job only before customer payment is recorded, and refuses jobs that need a refund or are already settled.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Record job arrival” in Recued. Marks an accepted job as on site and records when the worker arrived for duration tracking.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Complete job” in Recued. Marks a job complete, calculates its duration when arrival was recorded, and adds earnings once payment is known.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Record collection” in Recued. Records whether the runner or worker collected the customer’s payment, then adds earnings when the job is already complete.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Start job hold” in Recued. Starts the complaint hold after completion and payment are recorded, using the worker’s saved hold period.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Correct job money” in Recued. Updates a job’s price, worker share, or collector. If the job was already settled, it also creates a pending adjustment.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Dispatch job” in Recued. Emails the assigned worker what the job is, when and where, and asks them to reply to take it or pass.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
View pack details, dependencies, and permissions →

Releases everything that is due right now: every job whose complaint hold has expired, plus every pending adjustment. There is nothing to fill in — no date, because nothing can be due in the future, and no key, because the run derives its own. Release on a cadence at least as long as your hold: two jobs in opposite directions only cancel out when both holds have expired by the same release, so releasing more often than work ripens pays money out and collects it back instead of netting it to nothing. The cadence you choose, not the pack, decides how much a settlement is worth. Running it twice is safe — the second run finds nothing due, because everything it would have picked is already marked settled — but it will not hand back the earlier settlement; find that on the worker, which always carries its latest one. At 49 sources the batch is exactly 100 writes. No sources means no batch call.

Fleet Money is runner-operated and ledger-settled: a settlement records an obligation, not proof that funds moved. Record views open in the pack app's result stack and are not bookmarkable deep links.

How it works 57 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (57 steps)
■ worker_id trim
Trim whitespace from setting worker id
■ cutoff_at date_add
Add 0 seconds to
■ release_seed template
Generate text from a template
■ release_hash sha256
Apply sha256
■ release_id template
Generate text from a template
◆ existing recued-core.fleet-money.settlement.get
Get settlement on fleet money
■ replay compare
Check if existing record id has data
◆ worker recued-core.fleet-money.worker.get
Get worker on fleet money
■ worker_guard template
Generate text from a template
fail: step.worker.record.id is_empty
■ replay_ok all
Check if all conditions are true
skip: step.replay equal false
■ replay_guard template
Generate text from a template
fail: step.replay_ok equal false
◆ adjustments recued-core.fleet-money.adjustment.search
Search adjustment on fleet money
skip: step.replay equal true
■ adjustment_rows default
Apply default
■ adjustment_count count
Count items in adjustment rows
■ remaining math
Calculate 49 minus adjustment count
■ skip_jobs any
Check if any of the conditions are true
◆ jobs recued-core.fleet-money.job.search
Search job on fleet money
skip: step.skip_jobs equal true
■ job_rows default
Apply default
■ job_count count
Count items in job rows
■ source_count math
Calculate adjustment count plus job count
■ nothing_due compare
Check if source count equals 0
■ checked_jobs map
Extract from each item
■ valid_jobs filter
Filter by condition
■ valid_job_count count
Count items in valid jobs
■ job_coherence_guard template
Generate text from a template
fail: step.valid_job_count not_equal step.job_count
■ checked_adjustments map
Extract from each item
■ valid_adjustments filter
Filter by condition
■ valid_adjustment_count count
Count items in valid adjustments
■ adjustment_coherence_guard template
Generate text from a template
fail: step.valid_adjustment_count not_equal step.adjustment_count
■ duration_jobs map
Extract from each item
■ hashed_jobs map
Extract id from each item
■ hashed_adjustments map
Extract id from each item
■ gross_minor sum
Sum values in
■ job_net_minor sum
Sum values in
■ adjustment_net_minor sum
Sum values in
■ net_minor math
Calculate job net minor plus adjustment net minor
■ total_minutes sum
Sum values in
■ settled_at date_add
Add 0 seconds to
■ settlement_op default
Apply default
■ job_pairs map
Extract from each item
■ adjustment_pairs map
Extract from each item
■ job_ops flatten
Flatten nested lists in
■ adjustment_ops flatten
Flatten nested lists in
■ worker_op default
Apply default
■ ops flatten
Flatten nested lists in
■ net_negative compare
Check if net minor is less than 0
■ net_negative_guard template
Generate text from a template
fail: step.net_negative equal true
■ skip_post any
Check if any of the conditions are true
◆ post recued-core.fleet-money.release.post
Post release on fleet money
skip: step.skip_post equal true
■ created_settlement default
Apply default
■ final_settlement ternary
Apply ternary
■ replay_source_count math
Calculate existing record job count plus existing record adjustment count
skip: step.replay equal false
■ final_source_count ternary
Apply ternary
■ final_nothing_due ternary
Apply ternary
■ card to_summary
Format results as a summary card
■ settlement_action ternary
Apply ternary
■ actions flatten
Flatten nested lists in
▼
Output
summary card
button actions
Settings 1 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

worker id setting = [object Object]

Uses (5 operations)

Pack operation Get settlement on fleet money recued-core.fleet-money.settlement.get
Pack operation Get worker on fleet money recued-core.fleet-money.worker.get
Pack operation Search adjustment on fleet money recued-core.fleet-money.adjustment.search
Pack operation Search job on fleet money recued-core.fleet-money.job.search
Pack operation Post release on fleet money recued-core.fleet-money.release.post

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Write Pack Fleet Money external change
Read: settlement.get · No approvalRead: worker.get · No approvalRead: adjustment.search · No approvalRead: job.search · No approvalWrite: release.post · Always asks

About

Tags

pack:fleet-moneyfleetmoneyrecordsmutation

Details

57 steps 1 configurable settings recipe_id: release-worker-money