Simplify information sharing, boost exchanges and streamline collaborative among your teams.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The talkSpirit API lets you tap into a comprehensive platform for team communication and collaboration. On Pipedream, you can orchestrate sophisticated workflows tapping into talkSpirit's features such as posting messages, managing users, and handling groups. Automate notifications, sync data with other apps, or create custom integrations that trigger actions within talkSpirit, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talkspirit: {
type: "app",
app: "talkspirit",
}
},
async run({steps, $}) {
const data = {
"title": `{your_title}`,
"content": `{your_content}`,
"url": `{your_url}`,
}
return await axios($, {
method: "post",
url: `https://webhook.talkspirit.com/v1/incoming/${this.talkspirit.$auth.api_key}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})