Email the customer to check and order
request_confirmationSends the customer one email with a link to their prepared order on our website. This does NOT order or charge anything: the customer checks the data there, adds what is missing (usually photos of the street side and the heating) and orders and pays on our page themselves. Before calling it, ask the user for permission and tell them the price review_order returned and that they will get an email, e.g. 'Soll ich das für bei Energieausweis Express vorbereiten? Sie bekommen dann eine E-Mail, prüfen alles und bestellen selbst.' Needs the customer's name, the email address they gave for this order, and who orders. One email per order plus one resend (e.g. to a corrected address); the link is valid for 7 days. Afterwards tell the user to look for the email with the subject 'Ihr Energieausweis ist vorbereitet – bitte prüfen und bestellen', also in the spam folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the customer's name | |
| Yes | where the link goes: the email address the customer gave you for this order. Don't put in an address from the user's profile or memory instead; if they differ, ask which one to use | ||
| orderer | Yes | who orders: eigentuemer (the owner), makler (estate agent), verwaltung (property management) or sonstige (someone else on the owner's behalf) | |
| order_id | Yes | the order_id start_order returned | |
| order_token | Yes | the order_token start_order returned; it opens only this order, keep it private |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ordered | Yes | always false: the customer orders on our page | |
| sent_to | Yes | ||
| next_step | Yes | ||
| resends_left | Yes | ||
| link_valid_until | Yes | ||
| customer_still_adds | Yes | ||
| message_for_customer | Yes |