Send an offer request by email to Swiss Premium Insurance
request_adviser_contactSends the client request by email to contact@sp-insurance.ch through the server; no personal email account or mail tool is needed. Use only after the client has seen the exact contact details, selected offer, comparison criteria and purpose, and answered yes to the consent_request question. Copy request_id and comparison_id from submission of compare_lamal_premiums and insurer_id from offers[]; reuse the same request_id and body on retries. Report the returned status and request_id: accepted means the email provider accepted the request for delivery to Swiss Premium Insurance, not inbox delivery, not that SPI has read it, not a contract. A draft or test is not a real send. The cashback is paid later by SPI to the client only if the contract is concluded through SPI and approved by the insurer; never promise it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Who is calling: { name:"chatgpt" } etc. Self-declared, not authentication. | |
| contact | Yes | Fill email or phone; leave the other as an empty string or omit it. Never invent a client name, email or phone. | |
| language | No | Client language; defaults to the comparison language. fr, de, it, en have localised client texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr). | |
| offer_id | No | offers[].offer_id or source_offer_id; alternative to insurer_id. | |
| comparison | No | submission.comparison copied unchanged; only with comparison_token. | |
| insurer_id | No | insurer_id of the offer the client chose, from offers[]. | |
| request_id | Yes | Copy submission.request_id from the quote (any RFC 4122 UUID). Reuse the same value and body on every retry. | |
| comparison_id | No | comparison_id from the quote; valid 30 days. Preferred. | |
| client_consent | Yes | true only after the client explicitly answered yes to consent_request. Never infer consent from a comparison. | |
| comparison_token | No | submission.comparisonToken with the identical submission.comparison; alternative to comparison_id. | |
| subsidy_requested | No | Client wants information on premium subsidies. | |
| cashback_terms_version | No | cashback.version shown to the client; 409 cashback_terms_outdated when stale. | |
| supplementary_interest | No | Client also wants supplementary (LCA) offers; enables the LCA cashback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| cashback | No | ||
| recipient | Yes | ||
| email_sent | Yes | Provider acceptance; not inbox delivery or a contract. | |
| request_id | Yes | ||
| accepted_at | Yes | ||
| follow_up_by | Yes | ||
| expected_contact_channel | No | ||
| correction_or_cancellation | No | mailto link to correct or withdraw; give it to the client. |