What do you want to automate

with Twist and OpenRouter?

Prompt, edit and deploy AI agents that connect to Twist, 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 Channel (Instant) from Twist API
Twist + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on New Comment (Instant) from Twist API
Twist + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on New Event (Instant) from Twist API
Twist + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on New Group (Instant) from Twist API
Twist + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on New Group User (Instant) from Twist API
Twist + OpenRouter
 
Try it
New Channel (Instant) from the Twist API

Emit new event for any new channel added in a workspace See the docs here

 
Try it
New Comment (Instant) from the Twist API

Emit new event for any new comment in a workspace See the docs here

 
Try it
New Event (Instant) from the Twist API

Emit new event for any new updates in a workspace See the docs here

 
Try it
New Group (Instant) from the Twist API

Emit new event for any new group added in a workspace See the docs here

 
Try it
New Group User (Instant) from the Twist API

Emit new event for any new user added to a workspace group See the docs here

 
Try it
Add Comment with the Twist API

Adds a new comment to a thread.

 
Try it
Retrieve Available Models with the OpenRouter API

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

 
Try it
Add Message To Conversation with the Twist API

Adds a message to an existing conversation.

 
Try it
Send Chat Completion Request with the OpenRouter API

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

 
Try it
Add Thread with the Twist API

Adds a new thread to a channel.

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

Overview of Twist

Twist is a communication app designed for team collaboration, with a focus on organized, threaded conversations. Using the Twist API on Pipedream, you can automate workflows to enhance productivity, streamline communication, and integrate with other tools. From automating notifications to syncing tasks across platforms, the API unlocks valuable use cases for teams needing to stay in sync without the noise of email or less structured chat apps.

Connect Twist

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: {
    twist: {
      type: "app",
      app: "twist",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.twist.com/api/v3/users/get_session_user`,
      headers: {
        Authorization: `Bearer ${this.twist.$auth.oauth_access_token}`,
      },
    })
  },
})

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