Shorten.REST

The Most Flexible, Robust, Scale-able, Transactional, URL Shortening RESTful API.

Integrate the Shorten.REST API with the Notion API

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

Get Clicks with Shorten.REST API on New Database from Notion API
Notion + Shorten.REST
 
Try it
Get Clicks with Shorten.REST API on New Page in Database from Notion API
Notion + Shorten.REST
 
Try it
Get Clicks with Shorten.REST API on Page or Subpage Updated from Notion API
Notion + Shorten.REST
 
Try it
Get Clicks with Shorten.REST API on Updated Page ID from Notion API
Notion + Shorten.REST
 
Try it
Get Clicks with Shorten.REST API on Updated Page in Database from Notion API
Notion + Shorten.REST
 
Try it
New Database from the Notion API

Emit new event when a database is created. Note: Databases must be shared with your Pipedream Integtration to trigger event.

 
Try it
New Page in Database from the Notion API

Emit new event when a page in a database is created

 
Try it
Page or Subpage Updated from the Notion API

Emit new event when a page or one of its sub-pages is updated.

 
Try it
Updated Page ID from the Notion API

Emit new event when a selected page is updated

 
Try it
Updated Page in Database from the Notion API

Emit new event when a page in a database is updated. To select a specific page, use Updated Page ID instead

 
Try it
Get Clicks with the Shorten.REST API

Gets the click data. See the documentation

 
Try it
Append Block to Parent with the Notion API

Creates and appends blocks to the specified parent. See the documentation

 
Try it
Shorten Link with the Shorten.REST API

Shortens a given long URL into an alias. If the alias name is not provided, the system generates one. If the domain input is not provided, it defaults to short.fyi. See the documentation

 
Try it
Create Page with the Notion API

Creates a page from a parent page. The only valid property is title. See the documentation

 
Try it
Create Page from Database with the Notion API

Creates a page from a database. See the docs

 
Try it

Overview of Shorten.REST

Shorten.REST API on Pipedream allows you to automate URL shortening, expanding, and tracking within your custom workflows. With this API, you can create short, branded links programmatically, obtain detailed analytics on click-throughs, and manage your URLs efficiently, all within Pipedream's serverless platform. This enables seamless integration of URL management into your applications, marketing campaigns, or day-to-day tasks while leveraging various triggers and actions from other apps available on Pipedream.

Connect Shorten.REST

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: {
    shorten_rest: {
      type: "app",
      app: "shorten_rest",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.shorten.rest/clicks`,
      headers: {
        "Content-Type": `application/json`,
        "x-api-key": `${this.shorten_rest.$auth.api_key}`,
      },
    })
  },
})

Overview of Notion

Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Leveraging Pipedream's platform, you can build workflows that connect Notion with a myriad of other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.

Connect Notion

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: {
    notion: {
      type: "app",
      app: "notion",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.notion.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
        "Notion-Version": `2021-08-16`,
      },
    })
  },
})