Skill v1.0.1
currentAutomated scan100/100+1 new
version: "1.0.1" name: approval-dashboard description: |- Review and approve pending transactions, bills, reimbursements, and requests. Use when: 'approve', 'pending approvals', 'what needs my approval', 'review transactions', 'approve bills', 'reject', 'approval queue', 'clear my approvals'. Do NOT use for: transaction analysis, receipt uploads, or spend tracking.
Non-Negotiables
- Pass `--rationale` on every command — it is a required field on these agent-tools (a non-empty string, max 1024 chars). With
--json, supply it as a"rationale"key in the body. Omitting it returnsHTTP 422 (DEVELOPER_INVALID_SCHEMA), in both agent and human modes. - Always show the item details before approving or rejecting. Never blind-approve.
- Rejections require a reason. Approvals do not, but a note is helpful.
- Confirm with the user before executing approvals — especially bulk operations.
- Present items sorted by priority: highest dollar amount first.
- Amounts vary by endpoint: bills are in cents (divide by 100), reimbursements are in dollars, transactions are formatted strings ("$135.40").
- Deep links: If the response contains a
bill_url(bills) orreimbursement_link(reimbursements) field, include it when presenting entity details so the user can click through to the Ramp web app. If these fields are absent, direct the user to the relevant Ramp page (e.g.,https://app.ramp.com/bills) instead. Never fabricate deep link URLs.
Workflow
Step 1: Fetch all pending items
Run these in parallel to build the full approval queue. Paginate each endpoint until there are no more results — a single page may not return everything.
# Pending transactions (paginate with --next_page_cursor)ramp transactions list --transactions_to_retrieve transactions_awaiting_my_approval \--agent --page_size 50 --rationale "List the user's transactions"# Pending bills (paginate with --page_cursor)ramp bills pending --agent --limit 50 --rationale "Review bills pending approval"# Pending reimbursements (no cursor pagination — use --limit)ramp reimbursements pending --agent --limit 50 --rationale "Review reimbursements pending approval"# Pending requests (paginate with --start; --thoughts is required)ramp requests pending --thoughts "Reviewing all pending requests" --page_size 50 --agent --rationale "Review pending requests"
For each endpoint, check pagination.next_cursor in the JSON envelope. If it is not null, re-run the command with that cursor value (via --next_page_cursor for transactions, --page_cursor for bills, --start for requests) until all pages are fetched. Note: reimbursements pending does not support cursor-based pagination — it only has --limit, so increase the limit if you need more results. Aggregate results before presenting.
Step 2: Present the queue
Summarize what's pending. If the response includes bill_url or reimbursement_link fields, include them so the user can open items directly in the Ramp web app:
Approval queue: 14 items ($23,450 total)Bills (4 items, $8,200):$3,500 HighSpot Invoice #1234 Due 2026-03-28 → <bill_url if present>$2,500 Cometeer Invoice #5678 Due 2026-04-01 → <bill_url if present>...Reimbursements (6 items, $2,100):$ 520 Michael Scott Uber rides Submitted 2026-03-20 → <reimbursement_link if present>$ 312 Oscar Martinez Office supplies Submitted 2026-03-22 → <reimbursement_link if present>...Transactions (3 items, $12,500):$5,000 Dana Alhasawi AWS 2026-03-15...Requests (1 item, $650):...
Step 3: Review and act
For each item the user wants to act on, get details first:
# Bill detailsramp bills get {bill_id} --agent --rationale "Review bill details"# Transaction detailsramp transactions get {transaction_uuid} --agent --rationale "Review transaction details"# Transaction missing items (if relevant)ramp transactions missing {transaction_uuid} --rationale "Check missing items on the transaction"# Reimbursement details (use list with specific UUID)ramp reimbursements list --reimbursement_uuids '["{uuid}"]' --include_policy_assessment --agent --rationale "List the user's reimbursements"
Step 4: Execute approvals
# Approve a transactionramp transactions approve {transaction_uuid} --action APPROVE --thoughts "Reviewed — within policy" --rationale "Act on the transaction approval"# Reject a transaction (reason required)ramp transactions approve {transaction_uuid} \--action REJECT_AND_REQUEST_CHANGES \--thoughts "Missing receipt and over budget" \--user_reason "Please attach the receipt and update the memo" --rationale "Act on the transaction approval"# Approve a bill — not yet available via CLI.# Use the bill_url from the response to direct the user to the Ramp app.# Approve a reimbursementramp reimbursements approve {reimbursement_uuid} --action approve --rationale "Act on the reimbursement approval"# Reject a reimbursementramp reimbursements approve {reimbursement_uuid} --action reject \--user_reason "Receipt doesn't match the claimed amount" --rationale "Act on the reimbursement approval"# Approve a requestramp requests approve {request_uuid} --action APPROVE --thoughts "Approved — within team budget" --rationale "Act on the request approval"
Step 5: Add comments (optional)
Leave a comment on any Ramp object for context:
ramp general comment {object_uuid} \--ramp_object_type transaction \--message "Approved — this covers the Q1 offsite catering" --rationale "Add a comment for the user"
Valid object types: bill, booking_request, card, payee, provisional_bill, reimbursement, spend_intent, spend_request, ticket, transaction, vendor_payment.
Bulk Approval
When the user wants to approve multiple items at once:
- Present all items with amounts and details
- Ask: "Approve all N items, or would you like to review individually?"
- If bulk: confirm once, then execute sequentially
- Report results: "Approved 12/14 items. 2 failed: [reasons]"
Transaction Approval Actions
| Action | When to use | |
|---|---|---|
APPROVE | Item is within policy, receipt/memo present | |
REJECT_AND_REQUEST_CHANGES | Needs corrections — missing memo, wrong coding, etc. | |
REJECT_AND_REQUEST_FULL_REPAYMENT | Personal expense or policy violation requiring repayment |
Example Session
User: What needs my approval?Agent: Let me check all your pending queues.> ramp transactions list --transactions_to_retrieve transactions_awaiting_my_approval --agent --page_size 50 --rationale "List the user's transactions"> ramp bills pending --agent --limit 50 --rationale "Review bills pending approval"> ramp reimbursements pending --agent --limit 50 --rationale "Review reimbursements pending approval"> ramp requests pending --thoughts "Checking approval queue" --page_size 50 --agent --rationale "Review pending requests"Approval queue: 6 items ($4,350 total)Bills (2 items, $2,700):$2,200 HighSpot Invoice #4401 Due 2026-03-28$ 500 Cometeer Invoice #882 Due 2026-04-01Reimbursements (3 items, $1,430):$ 520 Michael Scott Uber rides Submitted 2026-03-20$ 312 Oscar Martinez Office supplies Submitted 2026-03-22$ 598 Jan Levinson Flight change Submitted 2026-03-23Transactions (1 item, $220):$ 220 Dana Alhasawi DoorDash 2026-03-15Want to review individually or approve all?User: Approve the bills and reimbursements. Let me see the transaction first.Agent: I can approve the reimbursements now. Bills must be approved in the Ramp app.> ramp reimbursements approve reimb-001 --action approve --rationale "Act on the reimbursement approval"> ramp reimbursements approve reimb-002 --action approve --rationale "Act on the reimbursement approval"> ramp reimbursements approve reimb-003 --action approve --rationale "Act on the reimbursement approval"3 reimbursements approved. For the 2 bills, approve them in the Ramp app:HighSpot Invoice #4401 → <bill_url if present, else https://app.ramp.com/bills>Cometeer Invoice #882 → <bill_url if present, else https://app.ramp.com/bills>Now let me get details on that DoorDash transaction:> ramp transactions get txn-001 --agent --rationale "Review transaction details"> ramp transactions missing txn-001 --rationale "Check missing items on the transaction"DoorDash $220 — Dana Alhasawi, 2026-03-15Memo: "Team lunch" | Receipt: attached | Accounting: completeUser: Approve itAgent: > ramp transactions approve txn-001 --action APPROVE --thoughts "Team lunch — receipt and memo present"Done. Approval queue is clear.
Deep Link Handoff
When the agent hits a limitation — bill approvals aren't supported via CLI, or step-up auth is required — hand off to the user with a link to the Ramp web app:
- Bills: If the response includes a
bill_urlfield, use it — it routes to the correct bill page based on status (draft, approval, or paid). If absent, direct the user tohttps://app.ramp.com/bills. - Reimbursements: If the response includes a
reimbursement_linkfield, use it. If absent, direct the user to the Ramp reimbursements page.
Example handoff message (when bill_url is present):
I can't approve bills via the CLI. You can approve this bill directly in Ramp:$3,500 HighSpot Invoice #1234 → <bill_url>
Always prefer deep link fields from the API response when available — they account for bill status and environment. Never fabricate deep link URLs.
When NOT to Use
- Uploading receipts — use receipt-compliance
- Editing transaction memos or categories — use transaction-cleanup
Gotchas
| Issue | Fix | |
|---|---|---|
| Bill amounts are in cents | Divide by 100 for display | |
| Reimbursement amounts are in dollars | Display as-is | |
| Transaction amounts are formatted strings | Strip "$" and "," for sorting/totaling | |
requests pending requires --thoughts | Always include it — describe what you're doing | |
| Bill approvals are not yet available via CLI | Send the user to the Ramp app instead: https://app.ramp.com/bills | |
| No undo for approvals | Confirm with user before executing. Use -n for dry runs on write commands. | |
| Pagination varies | Check pagination.next_cursor in envelope. Pass it via --next_page_cursor (transactions), --page_cursor (bills), --start (requests). Reimbursements: --limit only. |