Systems integration is about getting your company's software to exchange data on its own: the online store order goes into the ERP, the CRM customer shows up in finance, the payment confirmed by the gateway marks the invoice as paid, the spreadsheet another team uses updates itself. Nobody exporting, copying and importing.
The easy part is making it work on delivery day. The part that takes effort, and that I deal with from the start, is what happens when the other end goes down, changes its format or sends the same notification twice.

What Usually Gets Integrated
- ERP with an online store or marketplace: orders, stock and invoices.
- CRM with finance: a closed deal becomes a contract and a bill.
- Payment gateway: instant payments, bank slips and cards marked as paid automatically. It is the core of automated billing.
- Google and Microsoft: calendar, email, spreadsheets, Analytics.
- A shared spreadsheet, when it is what another team uses and they won't stop using it.
- Supplier portals, which have the data you need and an API (sometimes a bad one) to fetch it.
A Real Example: Solar Plant Generation Through APIs
For a solar energy client, I built collectors that fetch the daily generation of each plant from the portals of three inverter manufacturers. Each manufacturer has its own API, with its own format, authentication and limits. Where there was no API, the data is collected by an automated browser, which is the topic of the web scraping page.
Some decisions from that project apply to almost any integration:
- Idempotent collection. Data is written so that running the same day again corrects it instead of duplicating it. You can reprocess a whole week without worry.
- Respecting the other end's limits. When the API says it received too many requests, the collector waits as long as it asks instead of insisting and getting blocked.
- Weekly reconciliation. A job checks what should have arrived and didn't, tries again and reports why anything is still missing: an inverter offline, a portal down, an expired credential.
That data feeds the generation versus target screen in the AYA plant operations portal, which used to be a spreadsheet put together by hand.
Webhooks, Queues And Reprocessing
Webhook: The Other End Tells You
When the source system can send notifications ("payment confirmed", "order created"), a webhook is the fastest path. The precautions: verify the notification's signature, so nobody can fake a payment, and store each notification with a unique key, because the same one often arrives more than once. In Rah CRM, the WhatsApp webhook arrives signed with HMAC, and a repeated message hits a unique key and doesn't get duplicated.
Scheduled Polling: I Go And Fetch It
When the other end doesn't send notifications, a job checks every so often and brings back what changed. It is slower, but it works with almost any API.
Queue: Nothing Gets Lost
Every send goes through a queue. If the other end is down, the send waits and is retried later, with a growing interval. If it keeps failing, it goes to an error list someone checks, instead of disappearing. In Rah CRM the queue lives in Postgres itself, with no extra service to maintain, and no task is lost if the server restarts.
Reprocessing
Security In Integrations
- Credentials out of the code, stored encrypted and with the least access possible. If the integration only reads, the key can only read.
- External addresses checked. When users can register an integration URL, the system stops it from pointing to the server's internal network.
- Everything logged. Every send and every response is recorded, so you can quickly find which side the problem is on.
When Integration Isn't The Answer
If the source system has no API at all and the data is public, a web scraping bot may solve it. If the problem is that none of the systems does what you need, the way forward may be a custom web application that replaces two of them. And if the end goal is a monthly report, integration is only half of it: the other half is report automation.
Tell me which systems need to talk to each other and what is being done by hand between them today.