OneSignal (User Auth)

Push messaging

Integrate the OneSignal (User Auth) API with the Discord API

Setup the OneSignal (User Auth) API trigger to run a workflow which integrates with the Discord API. Pipedream's integration platform allows you to integrate OneSignal (User Auth) and Discord remarkably fast. Free for developers.

New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Send Message With File with the Discord API

Post a message with an attached file

 
Try it

Overview of OneSignal (User Auth)

OneSignal is the premier user identity, authentication, and engagement platform
for mobile and web applications. The OneSignal API lets developers build a
range of applications that provide user authentication, data storage and
improved customer engagement. With its extensive feature set, the OneSignal API
can be used to create amazing web and mobile products that drive user
engagement. Here are just a few things you can build using the OneSignal (User
Auth) API:

  • Login and signup forms: Create seamless and secure signup and login forms
    with the User Auth API.
  • User profiles: Create custom user profiles that securely store user
    information and profile data.
  • 2FA authentication: Enable two-factor authentication for added security with
    the OneSignal's Push, SMS and Email authentication integrations.
  • Push notifications: Leverage the OneSignal Push Notification Service to send
    personalized notifications and messages to your users.
  • Feature flippin: Easily and securely allow users to flip features on and off
    with the Feature Flippin integrations.
  • Loyalty programs: Create custom loyalty programs for your app users with the
    Loyalty Program Builder.
  • Messaging and chatbots: Create powerful messaging and chatbot experiences
    with the OneSignal Messaging Platform.
  • Tracking and analytics: Track and measure user engagement with the OneSignal
    Analytics suite.

Connect OneSignal (User Auth)

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: {
    onesignal_user_auth: {
      type: "app",
      app: "onesignal_user_auth",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://onesignal.com/api/v1/apps/`,
      headers: {
        "Content-Type": `application/json`,
        "Authorization": `Basic ZTUwMTQ0ODAtMjQ2Ni00YzY5LWIyNGMtYWUwMGM2MzUyZDM3`,
      },
    })
  },
})

Overview of Discord

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord

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: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})