Weworkbook is a cloud-based software service that helps training organizations increase enrollments and reduce costs.
Go to siteThe Weworkbook API provides access to a suite of tools for educational businesses, such as student management, course planning, and finance tracking. Leveraging this API on Pipedream allows for the automation of these tasks and the integration of data with other apps and services. By combining workflows on Pipedream, you can streamline operations, enhance student engagement, and improve reporting capabilities, among other potential benefits.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
weworkbook: {
type: "app",
app: "weworkbook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.weworkbook.com/api/v1/courses`,
headers: {
Authorization: `Bearer ${this.weworkbook.$auth.oauth_access_token}`,
},
})
},
})
Automated Student Enrollment Notifications: Trigger a workflow when a new student enrolls in a course using Weworkbook. Use the Pipedream's built-in email service or connect to a messaging app like Slack to notify staff instantly, ensuring that no enrollment goes unnoticed and staff can take immediate action.
Course Attendance to Google Sheets: Each time a student checks into a class, the API can send data to Pipedream, which then logs this attendance in a Google Sheet. This provides an up-to-date and accessible record for educators and administrators to track attendance and participation trends over time.
Dynamic Invoicing with QuickBooks: When a new invoice is created in Weworkbook, trigger a workflow that captures invoice details and creates a corresponding invoice in QuickBooks. This ensures financial data remains synchronized across both platforms, reducing manual entry and the potential for human error.
Weworkbook uses OAuth authentication. When you connect your Weworkbook account, Pipedream will open a popup window where you can sign into Weworkbook and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Weworkbook API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://api.weworkbook.com/oauth/authorize
?
client_id={{custom_fields.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.weworkbook.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.weworkbook.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}