Draft an errand
draft_cloud_agentIn the YouSpot chat only: draft a standing errand the user asked for, so they can turn it on with one tap. Use this whenever they ask for something to happen on its own from now on: 'tell me when...', 'every morning...', 'notify me...', 'remind me each...', 'watch for...', 'let me know if...'. Never answer that you cannot set up a reminder, a watch or a recurring email; this is how you set one up. It creates nothing and turns nothing on, so it is safe to call as soon as the ask is clear. If the ask names a person for an email watch, look their address up first with search_graph_objects or search_connections and pass it as trigger.from; if two people match, ask which with the ask_user card instead of calling this. If they gave no address and none is on record, still draft it with trigger.from empty and say in your own words that it will watch the whole inbox. Pass the schedule or trigger fields only to override what the request plainly said; leave them out and the request is read for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Override the drafted name. Two to four words, sentence case. | |
| request | Yes | What the user asked for, in their own words, plus anything the conversation has settled since (a name, an address, a time). | |
| trigger | No | Override what it watches, with schedule_type 'trigger': {'event': 'email.received', 'from': '<address or domain, empty for any>', 'frequency': 'hourly'} or {'event': 'object.tagged', 'tag': '<tag>'}. | |
| schedule | No | Override when it runs: {'time': 'HH:MM'} plus {'days': [0-6]} for daily (0=Sunday), {'day': 0-6} for weekly, {'minute': 0-59} for hourly. | |
| schedule_type | No | Override how it runs. 'trigger' means an event rather than a clock. |