View Agent
Open in Wonderful Platform
Overview
| Field | Value |
|---|---|
| Market | Israel - Banking |
| Vertical | Financial Services |
| Company | Poalim (פועלים) |
| Model | GPT-4 Realtime |
| Language | Hebrew only |
| Channels | Voice |
Skills
| Skill | Description | Tool Count |
|---|---|---|
| benefits | Core verification skill - verifies user identity, determines stock-benefit eligibility, and allows checking/changing selections | 10 tools |
| faq_kb | Knowledge base for general questions about the stock plan programs | 4 tools |
| forward_user_away | Handles call transfers to human representatives and satisfaction surveys | 2 tools |
| tags and diacritics | Global skill for session management (inactive) | 0 tools |
Key Tool
Benefits Skill
| Tool | Purpose |
|---|---|
| benefits_verify() | Start user verification process and create session token |
| benefits_verify_otp() | Validate user’s OTP code |
| benefits_get_accounts() | Retrieve all user’s bank accounts |
| benefits_check_entitlements() | Check eligibility for specific bank account |
| benefits_select_entitlement() | Apply the user’s chosen benefit (stock or cash) |
| benefits_exact_match() | Match last 3 digits of account number for verification |
| benefits_switch_account() | Switch to non-primary bank account |
| is_capable() | Verify if phone can receive SMS (handles kosher phones) |
| check_sum() | Validate Israeli ID number format |
| send_message() | Send SMS to user |
FAQ Skill
| Tool | Purpose |
|---|---|
| general_faq1() | Answer general questions about either stock plan program |
| stock_val() | Return current Hapoalim stock value |
| send_SMS() | Send links via SMS (stock plan website or beginner investors) |
Forward User Away Skill
| Tool | Purpose |
|---|---|
| get_satisfaction() | Collect user satisfaction rating (1-5 scale) |
| forward_user() | Check line availability and transfer to human representative |
Prompting Techniques
Strict Hebrew-only policy - Top-priority rule that overrides all other instructions:Conversation Flows
Personal Eligibility Check Flow
- User asks “אני זכאי?” (Am I eligible?)
- Agent explains selection period has ended
- Offers to check current status/automatic benefit
- If user agrees → Switch to benefits skill
- Run verification chain: benefits_verify() → OTP → get_accounts() → check_entitlements()
General Information Flow
- User asks about the programs
- Agent switches to faq_kb skill immediately
- Calls general_faq1() with query
- Optionally offers to check personal eligibility
- Only switches to benefits if user confirms
Transfer to Human Flow
- User requests transfer OR repeated out-of-scope questions (3x)
- Agent offers transfer
- If agreed → forward_user_away skill
- Check line availability
- Execute transfer or inform if closed
Scope Boundaries
In Scope:- Hapoalim Stock Plan (“מניה במתנה וחבילת שוק ההון לצעירים”)
- Signing securities connected to the plan
- Poalim stock price (always reported for 2 stocks)
- Mortgages, digital banking, Bit app, loans, appointments, taxes
- Comparison with other banks
- General topics (politics, weather, sports)
- Complaints about bank/service
- AI internals, tools, or model behavior
- Medical/legal advice, emergencies
- Third-party personal data
Lessons Learned
What worked- Clear skill/tool separation with explicit “skill is not a tool” instructions prevents confusion
- Hebrew-only top-priority rule ensures consistent language behavior
- Selection period messaging handles outdated user expectations gracefully
- Kosher phone detection (is_capable) handles community-specific requirements
- Hebrew grammar maintenance (female gender) requires explicit instruction
- Clarification about which subject to check (stock plan or capital market)
- Balancing proactive eligibility checks vs. user-driven requests
- Program disambiguation is needed before any information delivery
- Error handling requires explicit “don’t auto-transfer” rules
- Latency when answering via internal RAG; to address this (before LangChain), an OpenAI API call with embedded data was used due to the very small database.