kwtsms

Kuwaits' #1 SMS Provider

Integrate the kwtsms API with the Bash API

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

Send SMS with the kwtsms API

Sends an SMS to a specified number. See the documentation

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of kwtsms

The kwtsms API provides SMS services that allow you to send text messages globally. Integrating this API with Pipedream can make your workflows smarter by incorporating SMS notifications, alerts, and marketing communications. With Pipedream's serverless platform, you can trigger these SMS actions based on a variety of events, such as form submissions, ecommerce transactions, or app notifications, unleashing a host of automation possibilities that save time and enhance engagement.

Connect kwtsms

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    kwtsms: {
      type: "app",
      app: "kwtsms",
    }
  },
  async run({steps, $}) {
    const data = {
      "username": `${this.kwtsms.$auth.api_username}`,
      "password": `${this.kwtsms.$auth.api_password}`,
    }
    return await axios($, {
      method: "post",
      url: `https://www.kwtsms.com/API/balance/`,
      headers: {
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS