The #1 Open-Source CRM. Modern, powerful, affordable platform to manage your customer relationships.
Emit new event when a record is created, updated, or deleted.
Create, update, or delete a single record in Twenty. This action allows for dynamic handling of records based on specified action type. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twenty: {
type: "app",
app: "twenty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twenty.com/rest/people`,
headers: {
Authorization: `Bearer ${this.twenty.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})