The database built for serverless, featuring native GraphQL

Go to site

FaunaDB API Integrations

Build and run workflows using the FaunaDB API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

module.exports = defineComponent({
  props: {
    faunadb: {
      type: "app",
      app: "faunadb",
  async run({steps, $}) {
    const faunadb = require('faunadb')
    const q = faunadb.query
    const client = new faunadb.Client({ secret: this.faunadb.$auth.secret })
    // Lists collections in the database tied to your secret key
    const collectionsPaginator = await client.paginate(q.Collections())
    this.collections = []
    await collectionsPaginator.each(page => {
      for (const collection of page) {


FaunaDB uses API keys for authentication. When you connect your FaunaDB account, Pipedream securely stores the keys so you can easily authenticate to FaunaDB APIs in both code and no-code steps.

Create a key in the Security section of your FaunaDB dashboard, then enter the Secret below.

Read more about Keys and Fauna Security.