T2M URL Shortener

Whether you are a bubbling startup or an established behemoth MNC organisation, T2M is your go to destination for all kinds of URL marketing endeavors.

Integrate the T2M URL Shortener API with the Formatting API

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

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
Try it

Overview of T2M URL Shortener

The T2M URL Shortener API lets you shorten URLs, manage them, and track analytics within Pipedream's automated workflows. By integrating with Pipedream, you can create shortened URLs on the fly, update them, and get click data without manual intervention. This capability is especially useful for marketing, content distribution, and social media management, where streamlined URL management can be seamlessly embedded into broader automated tasks.

Connect T2M URL Shortener

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: {
    t2m_url_shortener: {
      type: "app",
      app: "t2m_url_shortener",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://t2mio.com/api/v1/urls`,
      headers: {
        "apikey": `${this.t2m_url_shortener.$auth.api_key}`,
        "apisecret": `${this.t2m_url_shortener.$auth.api_secret}`,
      },
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})