What do you want to automate

with SMSTools and OpenRouter?

Prompt, edit and deploy AI agents that connect to SMSTools, 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 Inbound Message from SMSTools API
SMSTools + OpenRouter
 
Try it
Send Chat Completion Request with OpenRouter API on New Inbound Message from SMSTools API
SMSTools + OpenRouter
 
Try it
Send Completion Request with OpenRouter API on New Inbound Message from SMSTools API
SMSTools + OpenRouter
 
Try it
New Inbound Message from the SMSTools API

Emit new event when a new inbound message is received.

 
Try it
Add Contact to Group with the SMSTools API

Adds a new contact to an existing contact list. 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
Add Contact to Opt-Out List with the SMSTools API

Adds a selected contact to the opt-out list, stopping further communications. 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 SMSTools API with the OpenRouter API
Setup the SMSTools API trigger to run a workflow which integrates with the OpenRouter API. Pipedream's integration platform allows you to integrate SMSTools and OpenRouter remarkably fast. Free for developers.

Connect SMSTools

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: {
    smstools: {
      type: "app",
      app: "smstools",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.smsgatewayapi.com/v1/account`,
      params: {
        client_id: `${this.smstools.$auth.client_id}`,
        client_secret: `${this.smstools.$auth.client_secret}`,
      },
    })
  },
})

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