← Short.io

New event for each link created. from Short.io API

Pipedream makes it easy to connect APIs for Short.io and 900+ other apps remarkably fast.

Trigger workflow on
New event for each link created. from the Short.io API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Trigger a workflow on New event for each link created. with Short.io API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New event for each link created. trigger
    1. Connect your Short.io account
    2. Configure Watching timer
    3. Select a Domain Id
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New event for each link created. from Short.io API
Short.io + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New event for each link created. from Short.io API
Short.io + Google Sheets
 
Try it
Get Film with SWAPI - Star Wars API on New event for each link created. from Short.io API
Short.io + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New event for each link created. from Short.io API
Short.io + Airtable
 
Try it
Send any HTTP Request with HTTP / Webhook API on New event for each link created. from Short.io API
Short.io + HTTP / Webhook
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

New event for each link created. on Short.io
Description:Emit new event when a link is created.
Version:0.0.1
Key:short-new-link-created

Code

import shortApp from "../../short.app.mjs";

export default {
  key: "short-new-link-created",
  name: "New event for each link created.",
  description: "Emit new event when a link is created.",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  props: {
    shortApp,
    timer: {
      type: "$.interface.timer",
      label: "Watching timer",
      description: "How often to watch the links.",
      default: {
        intervalSeconds: 60 * 15,
      },
    },
    domainId: {
      propDefinition: [
        shortApp,
        "domainId",
      ],
    },
  },
  methods: {
    emit(meta) {
      const ts = Date.parse(meta.createdAt);
      this.$emit(meta, {
        id: meta.idString,
        summary: meta.secureShortURL,
        ts,
      });
    },
  },
  async run() {
    const links = await this.shortApp.listLinks(this.domainId);
    for (const link of links) {
      this.emit(link);
    }
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Short.ioshortAppappThis component uses the Short.io app.
Watching timertimer$.interface.timer

How often to watch the links.

Domain IddomainIdintegerSelect a value from the drop down menu.

Authentication

Short.io uses API keys for authentication. When you connect your Short.io account, Pipedream securely stores the keys so you can easily authenticate to Short.io APIs in both code and no-code steps.

Get your secret key here.

About Short.io

White label URL Shortener

More Ways to Use Short.io

Actions

Create a Short Link with the Short.io API

Create a Short Link. See the docs.

 
Try it
Delete a Short Link with the Short.io API

Delete a Short Link. See the docs.

 
Try it
Domain Statistics. with the Short.io API

Returns detailed statistics for domain in given period. See the docs.

 
Try it
Expire a Link. with the Short.io API

Expire a link by id. See the docs.

 
Try it
Update a Short Link. with the Short.io API

Update original url, title or path for existing URL by id. See the docs.

 
Try it