Customer management, project management and invoicing in one handy tool.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Update a draft invoice. Booked invoices cannot be updated. See the documentation
Teamleader Focus API lets you integrate your Teamleader account's features with Pipedream, enabling automation of various business processes. You can create, update, fetch, and manage data concerning contacts, companies, deals, projects, invoices, and tasks. Automating these aspects via Pipedream can streamline workflows, trigger actions based on events, and connect Teamleader Focus with other apps to enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamleader_focus: {
type: "app",
app: "teamleader_focus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.focus.teamleader.eu/users.me`,
headers: {
Authorization: `Bearer ${this.teamleader_focus.$auth.oauth_access_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