Add a document
Stores a text in a database so it can later be found by meaning. If the key already exists the document is replaced, never duplicated.
200+ apps to connect·Tested & maintained tasks·Human support in English & Spanish
In detail
What it does and what it's for
The Add a document action stores a text in one of your vector databases so you can find it later by its meaning. Use it at the end of any task to index what comes in: incoming emails, chat messages, spreadsheet rows, feed articles or API responses.
Every document is stored under a key. If you add a document with a key that already exists it is replaced rather than duplicated, so you can reindex a record that has changed without filling the database with stale versions. If you leave the key empty the text itself is used, so storing the same thing twice does not create duplicates either. You can optionally attach metadata as key=value lines and filter by it when searching.
How it works
How it fits in an automated task
A Botize task pairs a trigger with one or more actions. This piece is one of them.
Pick a trigger
The event that starts the task, from this app or any other.
This action runs
Botize performs it automatically using the data the trigger delivers.
Turn it on and forget it
The task runs on its own from then on. If something's off, tweak it or we'll help you.
Setup
Customization options
Fields you can adjust when using it in your automation.
Output data
Information provided
When executed, this operation delivers the following data, which can be used in the same automatic task.
Tags
-
Document key
{{doc_key}}
The key the document was stored under
-
Database
{{base}}
Name of the database used
-
Replaced an existing one
{{replaced}}
1 if a document with the same key already existed
-
Documents in the database
{{documents}}
How many documents the database holds now
-
Remaining capacity
{{remaining}}
How many more documents fit before reaching the limit
Learn by watching
Video tutorials
Short videos where you watch a real task being built from start to finish.
Need a hand?
Real people behind it
Email us
info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Message us on Telegram
t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Come with an idea.
Leave with an automation.
Create your first task in minutes. Do it once and forget about it forever.
Start automating