kwtsms

Kuwaits' #1 SMS Provider

Integrate the kwtsms API with the Python API

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

Send SMS with the kwtsms API

Sends an SMS to a specified number. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python 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,
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}