with 46elks and Lightpanda?
Emit new event when data related to your 46elks account changes, primarily used to keep an eye out for changes in account balance, name, or email. See the documentation
Emit new event instantly when an SMS is received by a specific number linked to your 46elks account. See the documentation
Dials and connects two phone numbers using the 46elks service. See the documentation
Composes and sends an SMS message to a specified phone number. See the documentation
The 46elks API grants access to a powerful suite of telephony services including SMS, MMS, and voice calls. You can use Pipedream to automate interactions with this API, creating workflows that respond to incoming messages, initiate outbound communication, or integrate with other services for enhanced functionality. Whether you're setting up SMS alerts, automating voice responses, or facilitating customer support, the 46elks API on Pipedream can streamline these processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_46elks: {
type: "app",
app: "_46elks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.46elks.com/a1/me`,
auth: {
username: `${this._46elks.$auth.username}`,
password: `${this._46elks.$auth.password}`,
},
})
},
})
import puppeteer from "puppeteer-core";
export default defineComponent({
props: {
lightpanda: {
type: "app",
app: "lightpanda",
}
},
async run({ steps, $ }) {
const browser = await puppeteer.connect({
browserWSEndpoint: `wss://cloud.lightpanda.io/ws?token=${this.lightpanda.$auth.api_token}`,
});
const page = await browser.newPage();
await page.goto('https://pipedream.com/');
const title = await page.title();
const content = await page.content();
await browser.close();// The browser needs to be closed, otherwise the step will hang
return { title, content }
},
})