with Reddit and Laposta?
Emit new event on each created relation. See docs here (Go to Add webhook
)
Emit new event each time a new comment is added to a subreddit.
Emit new event on each deleted relation. See docs here (Go to Add webhook
)
Emit new event each time a new hot post is added to the top 10 items in a subreddit.
The Reddit API unlocks the potential to automate interactions with one of the largest online communities. With Pipedream, you can tap into the Reddit ecosystem to monitor trends, engage with audiences, or curate content. Whether it's tracking mentions of your brand, auto-posting to subreddits, or gathering data for analysis, the API offers a breadth of functionalities — from getting posts and comments to creating new threads and managing account settings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reddit: {
type: "app",
app: "reddit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://oauth.reddit.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.reddit.$auth.oauth_access_token}`,
},
})
},
})
Laposta is a robust email marketing tool, empowering users to build, send, and analyze email campaigns with ease. Leveraging the Laposta API on Pipedream, you can automate email list management, subscriber data synchronization, and campaign performance tracking. The API enables developers to create dynamic, serverless workflows that react to events across various apps, enrich contact information, or even trigger custom email sequences based on user behavior or other external cues.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
laposta: {
type: "app",
app: "laposta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.laposta.nl/v2/list`,
auth: {
username: `${this.laposta.$auth.api_key}`,
password: ``,
},
})
},
})