with SMS Fusion and Workday?
Emit new event for each new worker created in Workday. See the documentation
Get current account balance including credit limits in SMS Fusion. See the documentation
Change the business title of a worker. See the documentation
Perform HLR on a number with SMS Fusion. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_fusion: {
type: "app",
app: "sms_fusion",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.smsfusion.com.au/balance/`,
headers: {
"accept": `application/json`,
},
params: {
key: `${this.sms_fusion.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workday: {
type: "app",
app: "workday",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.workday.$auth.rest_api_endpoint}/workers`,
headers: {
Authorization: `Bearer ${this.workday.$auth.oauth_access_token}`,
},
})
},
})