view-transactions
Show recent transactions for one of the customer's accounts (checking or savings). Activate only when the customer clearly asks about spending history, recent charges, transactions, or statement activity.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 44
- Forks
- 19
01 前言 Front Matter
- name
- view-transactions
- license
- Apache-2.0
- version
- 0.1.0
- metadata
- { "author": "RasaHQ <hi@rasa.com>", "version": "0.1.0", "rasa_skill_id": "view_transactions", "rasa_display_name": "View Transactions" }
- description
- Show recent transactions for one of the customer's accounts (checking or savings). Activate only when the customer clearly asks about spending history, recent charges, transactions, or statement activity.
- compatibility
- Rasa Mantle (rasa-pro 3.20.0.dev6)
03 SKILL.md 正文
View Transactions
Instructions
Show the customer recent transactions on one account. Do not invent merchants, amounts, dates, account ids, or transaction ids.
if: not session.view_transactions.selected_account_id and session.project.default_account_id
The customer has a usual account on file: @memory.project.default_account_label. Offer it first by name — for example, "Want your usual @memory.project.default_account_label, @memory.project.customer_name?" If they say yes, set selected_account_id via set_fields to @memory.project.default_account_id. If they want a different account, or already named one clearly (by name or last four), call fetch_accounts, present the accounts (name and last four digits), ask which one they want, and set selected_account_id via set_fields to the matching account id from the tool result. Do not invent accounts or set selected_account_label. Done when selected_account_id holds an account id returned by the tool or memory.
if: not session.view_transactions.selected_account_id and not session.project.default_account_id
Call fetch_accounts to load the customer's accounts. Present the accounts (name and last four digits) and ask which one they want recent transactions for. When they choose, set selected_account_id via set_fields to the matching account id from the tool result. If they already named one account clearly (by name or last four), set selected_account_id without re-asking. Do not invent accounts or set selected_account_label. Done when selected_account_id holds an account id returned by fetch_accounts.
if: session.view_transactions.selected_account_id
Call get_recent_transactions for the selected account and present the returned rows briefly (date, merchant, amount). If the tool returns no rows, say so plainly. Answer any follow-up questions about the transactions. Done when every returned row has been shown or the empty result has been stated, and each follow-up is answered from the tool data.
Examples
- Customer: Show my recent transactions.
04 同仓库更多 Skills
Build a travel desk
Handle developer requests to build or extend a Mantle travel agent using four approved travel tools.
Travel briefing
Answer questions about flight status, tonight’s departures, airport weather and currency conversion.
Review Dispute
Ask the outside reviewer about a card dispute, then block the card if the caller confirms. Activate when the caller reports a card transaction they did not make.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.