with Social Intents and Switch?
The Social Intents API enables seamless integration of live chat, customer feedback, and email list building services into your digital platforms. You can byukd workflows that automatically trigger actions based on chat events, gather insights from customer interactions, and enhance your marketing strategies by connecting Social Intents to various other tools, like CRMs, email marketing services, and databases.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
social_intents: {
type: "app",
app: "social_intents",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.socialintents.com/v1/api/chats/`,
auth: {
username: `${this.social_intents.$auth.account_id}`,
password: `${this.social_intents.$auth.api_token}`,
},
})
},
})
/*
Switch is single path branching operator.
Create non-linear workflows with multiple
execution branches and Pipedream will execute
the first branch that matches the configured
rules. The order in which rules are defined
will affect the path of execution.
The code for this operator is not currently
public. Please select the *Switch* operator
from the *Add Step* menu.
Check out the docs to learn more:
https://pipedream.com/docs/workflows/control-flow/switch
*/