Digital Automation · Focus area 3: APIs, webhooks and RevOps
DA7: APIs and webhooks
Goal: connect any system that has an API, even when no ready-made node exists: reading API documentation, making requests with the HTTP Request node, handling sign-in methods, fetching long lists page by page, and receiving webhooks securely.
You'll need: your n8n set-up, the payment workflow from DA6, a test account with a payment gateway such as Razorpay (test mode is enough), and the HTTP basics from Level 4.
Time: reading about 2 hours · practice (the Try it tasks) about 3 hours · assignment about 3 to 4 hours.
Where this is used: ready-made nodes cover popular apps, but many businesses also use a local billing tool, a courier's system or an industry app that offers only an API. The ability to connect "anything with an API" is what separates an automation specialist from someone who only uses templates.
How it differs: a backend developer builds APIs for others to use. An automation builder mostly uses other people's APIs, working from their documentation, their limits and their quirks, and joins several of them into one process.
Lessons
- 1Reading API documentationReading 15–25 minutes, plus practice✓
- 2Making requests with the HTTP Request nodeReading 15–25 minutes, plus practice✓
- 3Signing in to APIsReading 15–25 minutes, plus practice✓
- 4Long lists and paginationReading 15–25 minutes, plus practice✓
- 5Receiving webhooks securelyReading 15–25 minutes, plus practice✓
🛠️Assignment: The courier and payment connections for Sharma Textiles
This completes the API side of the payment workflow project and adds shipping.
- Write API cards for the courier, the payment gateway and the CRM.
- Book a test shipment with the HTTP Request node, handling 201, 422 and 429 replies, and save the AWB number.
- Record each system's sign-in method, where its secret is kept, and its scopes or permissions.
- Fetch all CRM contacts with pagination, a stop rule and a page limit, and check the count against the CRM.
- Secure the payment webhook with a signature check and an API confirmation before creating the invoice.
Self-check before you finish:
- [ ] Every API card has auth, key endpoints, limits and a test mode.
- [ ] A 422 reply produces a clear message naming the field.
- [ ] No key or secret appears in any node outside credentials.
- [ ] The paged contact count matches the CRM's own total.
- [ ] A fake webhook with a wrong signature is rejected and creates nothing.
✅Module check
Explain in a few sentences, in your own words:
How do you connect a business system that has an API but no ready-made node?
Show a good answer
A good answer mentions: reading the documentation for base URL, endpoints, methods, auth, fields, errors, limits and test mode, and writing an API card; using the HTTP Request node with the right method, headers, query and body, and reading status codes; choosing the sign-in method and smallest scopes, stored as credentials; fetching long lists with pagination, a stop rule and a page limit; and securing incoming webhooks with the production URL, signature checks and confirmation from the API.
📚Official references
Official documentation and guidance for this module's topics, chosen on 2 November 2026. Tools, laws and standards change, so check the current version before you rely on a detail. If a link has moved, search the same site.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
