Line

Messaging

Integrate the Line API with the Node API

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

Run Node Code with Node API on New Message Received from Line API
Line + Node
 
Try it
New Message Received from the Line API

Emit new event for every received message in a channel. See docs here

 
Try it
Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it
Send Broadcast Message with the Line API

Sends a broadcast message to multiple users at any time. See docs

 
Try it
Send Notification Message with the Line API

Sends notifications to users or groups from LINE Notify. See docs

 
Try it
Send Push Message with the Line API

Sends a push message to a user, group, or room at any time. See docs

 
Try it
Send Reply Message with the Line API

Sends a reply message in response to an event from a user, group, or room. See docs

 
Try it

Overview of Line

The Line API allows developers to create all sorts of applications that
interact with Line's messaging platform. Here are some examples of what you can
build:

  • A bot that responds to messages from users
  • A bot that helps users buy tickets or make reservations
  • A bot that sends notifications or updates to users
  • A bot that helps users track their orders or shipments
  • A bot that provides customer support
  • A bot that helps users find restaurants or other businesses

Connect Line

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    line: {
      type: "app",
      app: "line",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://notify-api.line.me/api/status`,
      headers: {
        Authorization: `Bearer ${this.line.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.