The bexio API offers a gateway to streamline administrative tasks linked with small business management. With this API, you can automate processes, sync data across platforms, and enhance efficiency by reducing manual input. Pipedream, with its serverless execution environment, lets you create complex workflows around bexio. You can automate invoicing, manage contacts, monitor projects, and integrate with other services like CRMs, email, and payment gateways.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bexio: {
type: "app",
app: "bexio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://office.bexio.com/api2.php/${this.bexio.$auth.oauth_uid}/company_profile`,
headers: {
Authorization: `Bearer ${this.bexio.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
Automated Invoice Creation and Delivery: Trigger a workflow in Pipedream when a new sale is made in your e-commerce platform. Create an invoice in bexio, email it to the customer, and record the transaction in your accounting software.
Dynamic Contact Synchronization: Sync new contacts between bexio and your email marketing tool. When a new contact is added in bexio, automatically add them to your Mailchimp list, ensuring your marketing campaigns reach all your business contacts.
Project Time Tracking Integration: Link bexio with time tracking apps like Toggl. When a project is created in bexio, set up a corresponding project in Toggl, and when time is logged, reflect this in bexio for accurate and up-to-date project management.
bexio uses OAuth authentication. When you connect your bexio account, Pipedream will open a popup window where you can sign into bexio and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any bexio API.
Pipedream requests the following authorization scopes when you connect your account:
article_show
article_edit
contact_show
contact_edit
kb_invoice_show
kb_invoice_edit
kb_offer_show
kb_offer_edit
kb_order_show
kb_order_edit
monitoring_show
monitoring_edit
project_show
project_edit
note_show
note_edit
task_show
task_edit
GET
https://office.bexio.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
scope={{oauth.space_separated_scopes}}
POST
https://office.bexio.com/oauth/access_token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
code={{oauth.code}}
POST
https://office.bexio.com/oauth/refresh_token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
refresh_token={{oauth.refresh_token}}