All integrationsDatabases
PocketBase
Work with the data behind your PocketBase app: search, add, update and delete records in any collection, add users and send their verification and password reset emails, get file links, and make backups.
- actions
- 19
- triggers
- 2
Triggers
Start a workflow when something happens in PocketBase.
- New recordRuns when a record is added to a PocketBase collection, such as a new sign-up, order or form entry, with all its fields. Records already there when the workflow is turned on don't start it.
- Record updatedRuns when a record in a PocketBase collection is changed, with what it holds now. The collection needs an updated date field, which collections made in the dashboard have. Changes made before the workflow was turned on don't start it.
Actions
Steps a workflow can run in PocketBase.
- List recordsList or search the records of a collection with PocketBase's filter syntax, sorted the way you choose, with related records expanded, a page at a time.
- Get recordRead one record of a collection by its ID, with its fields and any related records you expand.
- Find first recordFind the first record of a collection that matches a filter, such as the customer with an email address. Says found is false when none matches, rather than failing.
- Create recordAdd a record to a collection, with a value for each field you fill in.
- Update recordChange some fields of a record. Fields left blank keep their value.
- Create or update recordUpdate the record whose value in the field you match on is the one given, such as a customer with this email address, or add it if there is none, so a workflow that runs twice never adds it twice.
- Delete recordDelete one record of a collection, for good.
- Run batchAdd, update, add-or-replace and delete records in several collections at once: PocketBase saves all of them or, if one fails, none. A superuser turns this on first, under Settings > Application > Batch Web API.
- List collectionsList the collections, with each one's fields, their types and choices, the fields a new record needs and who the API rules let in. Needs a superuser's connection.
- Get collectionRead one collection: its fields with their types and choices, the fields a new record needs and who the API rules let in. Needs a superuser's connection.
- Create userAdd a user who can sign in to your app, and send them the email that asks them to verify their address.
- Send password reset emailEmail a user a link to choose a new password. PocketBase sends it only if the address belongs to a user, and says nothing either way.
- Send verification emailEmail a user a link to verify their email address. PocketBase sends it only to a user who isn't verified yet.
- Get file URLsGet the addresses of the files in a record's file field, to send or download in a later step, with a thumbnail size for images. A protected field's addresses work for a few minutes.
- Upload filePut a file, such as an image or a PDF, into a record's file field. A field that holds several files gets it added to the others.
- Create backupBack up PocketBase's database and files to a zip kept on the server (or its S3 storage). Needs a superuser's connection.
- List backupsList PocketBase's backups, newest first, with their sizes. Needs a superuser's connection.
- Delete backupDelete one of PocketBase's backups, for good. Needs a superuser's connection.
- List logsRead PocketBase's logs, newest first: every request to its API, with its answer and how long it took, and the app's own errors. Needs a superuser's connection.
No actions match that.
Automate PocketBase with Lodol.
Connect PocketBase, then hand Lodol the job in Slack, Claude or ChatGPT.
Free plan, no credit card