Rockset

Rockset is a serverless search and analytics engine that allows you to create live dashboards and real-time data APIs on DynamoDB, Kafka, S3 and more.

Integrate the Rockset API with the Filter API

Setup the Rockset API trigger to run a workflow which integrates with the Filter API. Pipedream's integration platform allows you to integrate Rockset and Filter remarkably fast. Free for developers.

Add Documents with the Rockset API

Add documents to a collection in Rockset. Learn more at https://docs.rockset.com/rest/#adddocuments.

 
Try it
Continue execution if a condition Is met with the Filter API

Continue workflow execution only if a condition is met

 
Try it
Create API Key with the Rockset API

Create a new API key for the authenticated user.

 
Try it
End execution if a condition is met with the Filter API

End workflow execution if a condition is met

 
Try it
Create Integration with the Rockset API

Create a new integration with Rockset. Learn more at https://docs.rockset.com/rest/#createintegration

 
Try it

Overview of Rockset

Rockset API is a modern API for real-time query on complex data. With Rockset,
you can build applications with routinely updated datasets, such as web traffic
logs, machine generated data, sensor data, ad-tracking data, and IoT device
data, to unlock real-time insights and actionability. In this article, we’ll
discuss the various types of applications you can build with Rockset API.

Rockset gives you the power to:

  • Quickly ingest and index data from a variety of sources such as Kafka,
    MongoDB and Amazon S3.
  • Perform complex analytical queries regardless of data complexity, structure
    and size.
  • Perform interactive computing on large volumes of data using SQL.
  • Build web or mobile applications with sophisticated analytics capabilities.

Here are some example applications you can build using Rockset API:

  • Personalized Shopping Experiences: Leverage data from many customer
    touchpoints, such as social media, web and app usage, customer support
    tickets and customer reviews, to build personalized shopping experiences.
  • Automated Fraud Detection: Create and monitor automated fraud detection
    systems that ingest and analyze various types of data in real-time to detect
    anomalous user behaviors.
  • Smart IoT: Create a connected infrastructure that lets you develop and deploy
    intelligent applications that can understand, store and analyze IoT data
    streams.
  • Machine Learning: Build applications that can quickly access, prepare and
    analyze data used for predictive analysis.
  • Log Management and Analytics: Collect, monitor and analyze log data from
    various sources to monitor system performance and alert on anomalies.

Connect Rockset

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    rockset: {
      type: "app",
      app: "rockset",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.rs2.usw2.rockset.com/v1/orgs/self/users/self`,
      headers: {
        "Authorization": `ApiKey ${this.rockset.$auth.apikey}`,
      },
    })
  },
})

Overview of Filter

The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:

  • A workflow that transforms data from one format to another
  • A workflow that filters out data that does not meet certain criteria
  • A workflow that sorts data in a specific order
  • A workflow that calculates statistics or aggregates data
  • A workflow that combines data from multiple sources

Connect Filter

1
2
3
4
5
6
7
8
9
10
export default defineComponent({
  async run({ steps, $ }) {
    let condition = false
    if (condition == false) {
      $.flow.exit("Ending workflow early because the condition is false")
    } else {
        $.export("$summary", "Continuing workflow, since condition for ending was not met.")
    }
  },
})