with JustCall and fal.ai?
Add a contact to your existing JustCall Sales Dialer campaign. See the documentation
Adds a request to the queue for asynchronous processing, including specifying a webhook URL for receiving updates. See the documentation
Cancels a request in the queue. This allows you to stop a long-running task if it's no longer needed. See the documentation
Gets the response of a completed request in the queue. This retrieves the results of your asynchronous task. See the documentation
Send a text from your JustCall SMS capabled number. See the documentation
The JustCall API allows for the automation and integration of telephony services into diverse workflows, enabling users to effectively manage calls and SMS within their business processes. By leveraging Pipedream's capabilities, one can create custom event-driven automation that responds to various triggers from JustCall, such as incoming/outgoing call events or new SMS messages, and connects them with over 300+ apps available on the Pipedream platform. This enables seamless data flow and interaction between JustCall and CRM systems, helpdesk software, marketing automation tools, and more, optimizing communication strategies and improving customer engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
justcall: {
type: "app",
app: "justcall",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.justcall.io/v2.1/users`,
headers: {
"accept": `application/json`,
"authorization": `${this.justcall.$auth.api_key}:${this.justcall.$auth.api_secret}`,
"x-justcall-client": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})
import { fal } from "@fal-ai/client"
export default defineComponent({
props: {
fal_ai: {
type: "app",
app: "fal_ai",
}
},
async run({ steps, $ }) {
fal.config({
credentials: `${this.fal_ai.$auth.api_key}`,
});
const result = await fal.subscribe("fal-ai/lora", {
input: {
model_name: "stabilityai/stable-diffusion-xl-base-1.0",
prompt:
"Photo of a rhino dressed suit and tie sitting at a table in a bar with a bar stools, award winning photography, Elke vogelsang",
},
logs: true,
});
return result;
},
})