with SiteSpeakAI and Bash?
Emit new event when a new lead is created in SiteSpeakAI. See the documentation
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Queries your chatbot and returns the answer and URLs used to find the answer. See the documentation
SiteSpeakAI is a versatile API that brings voice to your digital spaces. You can use it to convert text into lifelike spoken audio in various languages and dialects. With Pipedream, you can automate and integrate this capability into various workflows, reacting to events, processing data, and connecting with other APIs or services. Whether to enhance user experience with voice responses, create audio content dynamically, or provide accessibility features, SiteSpeakAI opens up a world of audio interaction possibilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sitespeakai: {
type: "app",
app: "sitespeakai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sitespeak.ai/v1/me`,
headers: {
Authorization: `Bearer ${this.sitespeakai.$auth.api_token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS