All integrationsDatabases

Apache CouchDB

Create, read, update and delete documents in Apache CouchDB from workflows, find them with Mango queries, query views, attach files and manage databases.

actions
13
triggers
3

Triggers

Start a workflow when something happens in Apache CouchDB.

  • New documentRuns when a document is created in a database, with its fields, or only documents whose fields match. Documents already there when the workflow is turned on don't start it.
  • Document changedRuns when a document in a database is updated, with its fields as they are now, once for all the changes made between two looks. A document created and edited between two looks starts this, not New document.
  • Document deletedRuns when a document is deleted from a database, with its ID. Its fields are gone by then.

Actions

Steps a workflow can run in Apache CouchDB.

  • Create documentCreate a document from a form, a webhook or another app: its fields, or the whole document as JSON, with the ID you give or a new random one.
  • Get documentGet a document's fields by its ID, with the files attached to it. A document that isn't there comes back with found false, so a workflow can check.
  • Update documentChange a document: merge the fields given into its newest revision, keeping the rest, or replace it. If it changes while saving, Lodol reads it again and saves once more.
  • Delete documentDelete a document by its ID. One that isn't there is left alone and reported, not an error.
  • Create documentsCreate many documents at once, such as rows from a spreadsheet or records from another app. Each is created or fails on its own, and the result says which.
  • Find documentsFind documents with a Mango query: fields equal to values, or a selector in JSON, with the fields, order and number you want, a page at a time.
  • Query viewRead a view a design document defines: its rows for a key or a range of keys, with their documents, or its totals for each key or for everything.
  • Add attachmentAttach a file to a document, such as a PDF invoice from an email, or save text as a file on it. A file of the same name is replaced.
  • Get attachmentDownload a file attached to a document, to send or save in a later step. A text file of 1 MB or less is also given as text.
  • List databasesList the databases on your CouchDB. Only a server admin can list them.
  • Create databaseCreate a database, such as one per customer or per year. Only a server admin can. One of that name already there is reported, not an error.
  • Delete databaseDelete a database and every document in it. This can't be undone. Only a server admin can.
  • Get database infoSee how many documents a database holds and how much space it takes, such as for a weekly report.

Automate Apache CouchDB with Lodol.

Connect Apache CouchDB, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card