PocketBase
List and manage records in PocketBase collections. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
6 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Create RecordCreates a new record in a collection
createRecord - Delete RecordDeletes a single record from a collection
deleteRecord - Get Full ListGets all the data for a given collection
getFullList - Get ListGets a paginated list of records from a collection
getList - Get RecordGets a single record by ID from a collection
getRecord - Update RecordUpdates a single record in a collection
updateRecord
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then PocketBase. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your PocketBase account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From PocketBase's settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("pocketbase", "createRecord", { "collection": "<collection name>", "recordData": {} }); if (!res.success) throw new Error(res.error); ctx.log.info("PocketBase answered", { output: res.output }); }
More in Data and storage
PocketBase and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.