Run your entire business with a single solution
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Microsoft Dynamics 365 Business Central is a powerful tool that can help
businesses automate their processes and improve their bottom line. The API
allows businesses to connect to their Business Central instance and access
their data. With the API, businesses can perform actions such as:
The possibilities are endless! Businesses can use the API to build custom
solutions that fit their specific needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynamics_365_business_central_api: {
type: "app",
app: "dynamics_365_business_central_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/beta/me`,
headers: {
Authorization: `Bearer ${this.dynamics_365_business_central_api.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})