Pocket

Service for managing a reading list of articles and videos

Go to site

Integrate the Pocket API with the Discord Webhook API

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

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it

Connect Pocket

const pocketReq = {
  method: "post",
  url: "/v3/add",
  data: {
    url: "https://pipedream.com",
    title: "What a great website!",
    access_token: auths.pocket.oauth_access_token,
  },
}
// proxy pocket request
return await require("@pipedreamhq/platform").axios(this, {
  url: "https://enkogw2a5epb176.m.pipedream.net",
  params: {
    http_respond: 1,
  },
  data: pocketReq,
})

Connect Discord Webhook

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord_webhook.oauth_access_token}`,
  },
})