simplify schema to date, file, note, status
This commit is contained in:
parent
f18d6b25ad
commit
330dc09e85
1 changed files with 3 additions and 5 deletions
|
|
@ -24,19 +24,17 @@ Log receipt images and expense details into the `wip.work_expenses` collection i
|
||||||
{
|
{
|
||||||
"file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}",
|
"file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}",
|
||||||
"date": "YYYY-MM-DD",
|
"date": "YYYY-MM-DD",
|
||||||
"merchant": "Name of the merchant",
|
"note": "Context the user provided about the expense",
|
||||||
"description": "Context the user provided about the expense",
|
|
||||||
"status": "todo"
|
"status": "todo"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- **file**: The S2 URL of the uploaded receipt image. Omit if no image was provided.
|
- **file**: The S2 URL of the uploaded receipt image. Omit if no image was provided.
|
||||||
- **date**: Always use today's date (the date you receive the message), formatted as YYYY-MM-DD.
|
- **date**: Always use today's date (the date you receive the message), formatted as YYYY-MM-DD.
|
||||||
- **merchant**: Ask the user if not stated.
|
- **note**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask.
|
||||||
- **description**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask.
|
|
||||||
- **status**: Always set to `"todo"` when inserting.
|
- **status**: Always set to `"todo"` when inserting.
|
||||||
|
|
||||||
3. **Confirm** — Reply with a brief confirmation showing what was logged (date, merchant, and file link if applicable).
|
3. **Confirm** — Reply with a brief confirmation showing what was logged (date, note, and file link if applicable).
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue