Zapier Integration
Automate your course workflows by connecting LearnFrom with 7,000+ apps through Zapier — no manual setup required.
Overview
The LearnFrom Zapier integration uses OAuth 2.0 to securely connect your account. Once connected, Zapier can automatically receive data when events happen on your courses, and perform actions on LearnFrom from other apps.
⚡ Triggers
Events on LearnFrom automatically sent to Zapier in real-time
🎯 Actions
Commands that Zapier can send to LearnFrom
Getting Started
Create a Zap in Zapier
Log in to zapier.comand create a new Zap. Search for "LearnFrom" as your trigger or action app.
Connect your account
When prompted, click "Connect" to authorize Zapier. You'll sign in to your LearnFrom account and approve the connection. No API keys needed.
Configure your Zap
Choose your trigger event and action, map your fields, and turn on your Zap. Events will flow automatically in real-time.
Available Triggers
Triggers automatically send data to Zapier in real-time using REST hooks when specific events occur.
Student Signs Up
Fires when a new student enrolls in one of your courses (via self-enrollment, invite link, email invite, or course purchase).
Data Fields
{
"id": "enrollment_id",
"student_email": "student@example.com",
"course_id": "65abc123def456...",
"course_title": "Photography Basics",
"source": "self-enroll",
"marketing_opt_in": false,
"signed_up_at": "2026-03-15T10:30:00.000Z"
}Student Marketing Opt-In Changed
Fires when a student updates their marketing email preference for one of your courses.
Data Fields
{
"id": "unique_event_id",
"student_email": "student@example.com",
"course_id": "65abc123def456...",
"course_title": "Photography Basics",
"marketing_opt_in": true,
"updated_at": "2026-03-15T10:30:00.000Z"
}Available Actions
Actions let Zapier send commands to LearnFrom.
Invite Student to Course
Invite a student by email to one of your courses. The student will receive a course invite.
Input Fields
email(required) — Student's email addresscourse(required) — Select from your courses via dropdown
Response
{
"success": true,
"inviteId": "65abc123...",
"email": "student@example.com",
"courseId": "...",
"courseTitle": "Photography Basics"
}Example Use Cases
Auto-add students to Mailchimp
When a student signs up → Add them to a Mailchimp audience → Send a welcome email series
Log students to Google Sheets
When a student signs up → Add a row to a Google Sheet with their email, course name, and date
Slack notification for new students
When a student signs up → Send a message to your Slack channel with the student's info
Invite from CRM
When a deal is closed in HubSpot → Invite the contact as a student to your training course
Typeform to course invite
When a Typeform submission is received → Invite the respondent to your course automatically
Authentication
LearnFrom uses OAuth 2.0 to connect with Zapier. When you connect the integration in Zapier, you'll be redirected to sign in and authorize access. No API keys or manual configuration needed.
What Zapier can access:
- Read your course and student data
- Receive real-time notifications about student events
- Create course invitations on your behalf
You can disconnect Zapier at any time from Dashboard → Account → Integrations.
Troubleshooting
- Verify the Zap is turned ON in Zapier
- Check that your LearnFrom account is still connected (re-authorize if needed)
- Test by enrolling a student in your course and check the Zapier task history
- Make sure the trigger event matches what you configured
- Your OAuth token may have expired — disconnect and reconnect in Zapier
- Make sure you authorized the correct LearnFrom account
- Check that you haven't disconnected from the LearnFrom Integrations settings
- Verify the courseId is correct — find it in your course URL or Dashboard
- Make sure the course belongs to the connected LearnFrom account
- Team members should connect the account owner's account
- Go to the trigger step in your Zap and click "Test trigger" to pull sample data
- Trigger a test event on LearnFrom (e.g. enroll a test student)
- Check your Zapier task history for errors or successful runs
API Reference
All API endpoints use OAuth 2.0 Bearer token authentication. Tokens are obtained through the standard OAuth 2.0 authorization code flow.
Authentication
Type: OAuth 2.0 (Authorization Code)
Authorize URL: https://learnfrom.co/oauth/authorize
Token URL: POST /api/oauth/token
Token Expiry: 1 hour (auto-refreshed by Zapier)
Grant Types: authorization_code, refresh_token
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/zapier/me | Auth test — returns connected user info |
GET | /api/zapier/courses | List user's courses (for dropdowns) |
GET | /api/zapier/triggers/student-signed-up | Poll recent student enrollments |
POST | /api/zapier/triggers/student-signed-up | Subscribe REST hook for new enrollments |
DELETE | /api/zapier/triggers/student-signed-up | Unsubscribe REST hook |
GET | /api/zapier/triggers/student-marketing-changed | Poll recent marketing opt-in changes |
POST | /api/zapier/triggers/student-marketing-changed | Subscribe REST hook for opt-in changes |
DELETE | /api/zapier/triggers/student-marketing-changed | Unsubscribe REST hook |
POST | /api/zapier/actions/invite-student | Invite a student to a course by email |
POST | /api/oauth/token | Exchange auth code or refresh token |
Response Format
All endpoints return JSON. Successful responses use HTTP 200. Errors return appropriate status codes (400, 401, 403, 404) with a JSON body containing an error field.
Need help setting up your Zapier integration? Contact us