The generative media platform for developers
Emit new event when a record of the selected object type is deleted. See the documentation
Emit new event (at regular intervals) when a record of arbitrary object type (selected as an input parameter by the user) is deleted. See the docs for more information.
Emit new event when a new outbound message is received in Salesforce.
Emit new event when a record of the selected object type is created. See the documentation
Adds a request to the queue for asynchronous processing, including specifying a webhook URL for receiving updates. See the documentation.
Adds an existing contact to an existing campaign. 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.
Adds an existing lead to an existing campaign. See the documentation
Gets the response of a completed request in the queue. This retrieves the results of your asynchronous task. See the documentation.
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;
},
})
The Salesforce (REST API) provides a powerful platform for creating and managing customer relationships with a wide array of features like data manipulation, querying, and complex automation. With Pipedream's serverless execution, you can create workflows that automate your sales processes, sync data with other platforms, enhance customer engagement, and trigger actions based on specific events. Dive into Salesforce data, streamline lead management, track customer interactions, and push or pull data to or from Salesforce seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesforce_rest_api: {
type: "app",
app: "salesforce_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.salesforce_rest_api.$auth.instancetype}/services/oauth2/userinfo`,
headers: {
Authorization: `Bearer ${this.salesforce_rest_api.$auth.oauth_access_token}`,
},
})
},
})