What do you want to automate

with PassSlot and OpenRouter?

Prompt, edit and deploy AI agents that connect to PassSlot, OpenRouter and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Retrieve Available Models with OpenRouter API on New Pass Created from PassSlot API
PassSlot + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on Pass Updated from PassSlot API
PassSlot + OpenRouter
 
Try it
Send Chat Completion Request with OpenRouter API on New Pass Created from PassSlot API
PassSlot + OpenRouter
 
Try it
Send Chat Completion Request with OpenRouter API on Pass Updated from PassSlot API
PassSlot + OpenRouter
 
Try it
Send Completion Request with OpenRouter API on New Pass Created from PassSlot API
PassSlot + OpenRouter
 
Try it
New Pass Created from the PassSlot API

Emit new event when a new pass is created in PassSlot. See the documentation

 
Try it
Pass Updated from the PassSlot API

Emit new event when an existing pass is updated in PassSlot. See the documentation

 
Try it
Create Pass with the PassSlot API

Creates a new pass using specified pass template. See the documentation

 
Try it
Retrieve Available Models with the OpenRouter API

Returns a list of models available through the API. See the documentation

 
Try it
Delete Pass with the PassSlot API

Deletes a specified pass from PassSlot. See the documentation

 
Try it
Send Chat Completion Request with the OpenRouter API

Send a chat completion request to a selected model. See the documentation

 
Try it
Send Completion Request with the OpenRouter API

Send a completion request to a selected model (text-only format) See the documentation

 
Try it
Integrate the PassSlot API with the OpenRouter API
Setup the PassSlot API trigger to run a workflow which integrates with the OpenRouter API. Pipedream's integration platform allows you to integrate PassSlot and OpenRouter remarkably fast. Free for developers.

Overview of PassSlot

The PassSlot API enables you to create and manage passes for Apple Wallet, such as coupons, loyalty cards, and event tickets. Integrating PassSlot with Pipedream allows you to automate the distribution and update of passes based on various triggers and events. You can dynamically create passes based on user actions, update them when certain conditions are met, and track their usage without manual intervention. This simplifies the process of engaging with customers through their mobile wallets.

Connect PassSlot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    passslot: {
      type: "app",
      app: "passslot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.passslot.com/v1/templates`,
      auth: {
        username: `${this.passslot.$auth.app_key}`,
        password: ``,
      },
    })
  },
})

Connect OpenRouter

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    openrouter: {
      type: "app",
      app: "openrouter",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
      headers: {
        Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
      },
      params: {
        provider: `OpenAI`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo