-
Notifications
You must be signed in to change notification settings - Fork 0
Merchant logo management and split-merchant workflow documentation #3
Copy link
Copy link
Open
Description
Summary
Remaining items from the original umbrella issue after merchant management (#4), recurring improvements (#5), and transaction rules (#6) were broken out.
Merchant Logo Management
When splitting a multi-policy merchant (e.g., one insurer with auto + home + rental policies), each new merchant loses the original logo. Tools needed:
SDK (monarch/merchants.py)
set_merchant_logo(merchant_id, cloudinary_public_id)— set logo from existing cloudinary IDupload_merchant_logo(merchant_id, image_path)— full workflow: get upload info → upload to cloudinary → set logo
GraphQL (already captured in queries.py)
GET_CLOUDINARY_UPLOAD_INFO_MUTATION— get signed params for logo uploadSET_MERCHANT_LOGO_MUTATION— set logo on merchant via cloudinary public ID
MCP tool
set_merchant_logo— set logo from existing cloudinary ID or copy from another merchant
Split-Merchant Workflow Documentation
Proven workflow for splitting merchants that handle multiple bills (e.g., insurer with auto + home + rental policies):
- Search transactions to identify distinct payment patterns (by account, amount, category)
- Create new merchants by reassigning transactions:
update_transaction(id, merchant_name="New Name") - Create auto-categorization rules to keep future transactions mapped correctly
- Set up recurring on each new merchant:
update_merchant(id, recurring={...}) - Deactivate original merchant's recurring stream
- Copy logo from original to each new merchant
This should be documented in CONTRIBUTING.md or as a skill pattern once the dependent tools exist.
Dependencies
- Add merchant management tools (get_merchant, list_merchants, update_merchant) #4 —
list_merchants,get_merchant,update_merchant(needed for steps 4-5) - Add transaction rule management tools (list_rules, create_rule, delete_rule) #6 — Transaction rules (needed for step 3)
Previously covered here, now tracked separately
- Merchant read/write tools → Add merchant management tools (get_merchant, list_merchants, update_merchant) #4
- Recurring catalog and aggregated query → Recurring stream retrieval misses liability streams, newly created merchants, and pending items — switch to aggregated query #5
- Transaction rule management → Add transaction rule management tools (list_rules, create_rule, delete_rule) #6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels