Create a Mercury customer intake
Use “Create a Mercury customer intake” in Recued. Normalizes required name and email, fresh-lists customers, blocks an exact email duplicate visible in the complete results, and creates one Mercury AR customer only after approval.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (15 steps)
name_trimmed
trim
Trim whitespace from setting name
email_trimmed
trim
Trim whitespace from setting email
has_name
compare
Check if name trimmed has data
has_email
compare
Check if email trimmed has data
inputs_ready
all
Check if all conditions are true
existing_raw
recued-core.mercury.customer.search
Search customer on mercury
skip: step.inputs_ready not_equal true
existing
default
Apply default
email_matches
filter
Filter by condition
match_count
count
Count items in email matches
no_match
compare
Check if match count equals 0
ready
all
Check if all conditions are true
create
recued-core.mercury.customer.create
Create customer on mercury
skip: step.ready not_equal true
match_table_rows
map
Extract from each item
match_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
▼
Output
summary
card
table
match_table
json
create.result
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
name
setting
=
[object Object]
email
setting
=
[object Object]
address
setting
=
[object Object]
Uses (2 operations)
Pack operation
Search customer on mercury
recued-core.mercury.customer.search
Pack operation
Create customer on mercury
recued-core.mercury.customer.create
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.