Practical guide · Integrations
What is an API and how can you connect your business applications?
A practical guide to understanding integrations, comparing options and keeping failures visible.
· By GonsecLabs · 12-minute read
A sale arrives in your online shop. Someone copies the order into a spreadsheet, alerts the warehouse and re-enters the details to prepare an invoice. Each application does its job, but information moves between them by hand. As volume increases, so do delays, corrections and the chance of an order falling through the cracks.
An integration can connect those steps. It often uses an API: an agreed way for two programs to request or exchange information. This guide explains what that means, when it can help and what to ask before connecting your business tools.
What is an API? A straightforward explanation
API stands for application programming interface. It is a set of rules describing what one program can request from or send to another and how it receives a response. An API might let an application look up a product, record an order or update a task's status.
Imagine a service counter: you can request certain services by following instructions, but you do not need to enter the office's records room or know how it is organised. Likewise, an application uses the available API to perform permitted actions without directly accessing the other application's entire database.
An API is not necessarily a ready-made integration. It is a means of communication. You still need to decide which data to exchange, when, with what permissions and what to do if no response arrives. APIs differ: one may allow you to look up customers, while another also lets you create or update them.
The problem is not merely technical. Spain's ONTSI report on small-business digitalisation highlights fragmented systems and the need to integrate technology more effectively into business processes. A useful connection begins with that process. The report is in Spanish.
Example: from an online sale to a warehouse task
Consider a fictional company with an online shop and a warehouse application. It wants confirmed orders to reach the packing team. A well-defined integration might work like this:
- Something happens: the shop marks an order as confirmed. First agree what “confirmed” means and whether payment must be received.
- Required data is identified: order number, products, quantities and the delivery information the warehouse needs.
- A request is sent: the integration uses the warehouse API to create a task with an authorised credential.
- The response is checked: the receiving application confirms creation or reports an error. The integration saves a reference linking the two records.
- There is follow-up: without confirmation, the case remains pending; it is retried when safe or a person is alerted. The team can compare confirmed orders with tasks created.
The connection may reduce manual copying, but it does not by itself guarantee stock is available or a parcel has shipped. You also need rules for cancellations, corrected addresses and returns. This is illustrative: available actions depend on the applications and their plans.
Five integrations that may be useful
1. Website form and CRM
A website enquiry creates an opportunity and assigns a sales task. Define required fields, how possible duplicates are identified and what happens when information is missing. An internal notification is not permission to send marketing communications.
2. Online shop and order management
Confirmed orders move to the fulfilment system. Define which statuses are shared, which system records cancellations and how pending synchronisations are reviewed. Stock and invoicing rules depend on the business.
3. Bookings and team calendars
A confirmed booking can appear in the appropriate calendar. Check availability and handle rescheduling, cancellation and time zones. Where health or other particularly sensitive information is involved, review specific requirements and limit the data shared.
4. CRM and quoting tool
A salesperson can pass the required details into a quote draft without retyping them. Define who approves prices and terms: an integration transports information but does not replace quote review.
5. Internal systems and reports
A connection can bring orders or enquiries into a dashboard. Clarify where each figure comes from, how often it updates and how an unavailable source is displayed. Old data should not look current simply because the dashboard was opened today.
In each case, start with a measurable need. If you are unsure which one, our small-business process automation guide helps you select tasks and estimate the effort.
API, connector, webhook or file: what is the difference?
| Option | What it does | A useful question |
|---|---|---|
| API | Lets an application request or send data under defined rules. | Does it support the operations and permissions we need? |
| Existing connector | Provides a ready-made connection between specific products. | Does it cover our fields, statuses and errors, and which plan includes it? |
| Webhook | One application sends another a notice when an event occurs. | How is the sender verified, and what if the notice fails or arrives twice? |
| File or scheduled process | Exchanges data through exports, imports or periodic requests. | What delay is acceptable and how are incomplete files detected? |
A webhook is a way to announce an event, not a universal guarantee of immediate, exactly-once delivery. Depending on the provider, notices can be delayed, repeated or require retries. For example, Stripe's webhook documentation explains verification and handling repeated deliveries for its service; each provider has its own rules.
A periodic file can also be appropriate when data does not need to arrive instantly and the volume is manageable. Ask about format, error handling and exchange security. The right choice depends on the process and the actual capabilities of each system.
Does data travel in real time?
Not always. Some connections react to an event; others check for changes periodically or exchange files once a day. Even an event-driven connection can be delayed by a queue or an unavailable application.
The practical question is: how much delay can the business accept? Several hours may be fine for a weekly report. To avoid selling the final item twice, you may need additional stock controls and careful consideration of concurrent transactions. A fast connection does not eliminate every risk.
What can go wrong — and how to avoid silent failures
- A system does not respond. Keep the case pending, use limited retries when appropriate and alert someone if it remains unresolved. Do not mark the process complete without confirmation.
- A request is repeated. A retry can create two orders or tasks without safeguards. Use stable identifiers and deduplication or idempotency mechanisms supported by the operation and provider. Stripe's idempotent request documentation gives one specific example; not every API behaves the same way.
- A field is missing or a format changes. Validate data, record the reason and send the case for review. An unknown product code, for example, should not silently create an incorrect line.
- Systems disagree. Agree the source of truth for each field and how simultaneous changes are resolved. Avoid applications overwriting each other without rules.
- A provider changes an API or limits usage. Review versions, quotas and retirement notices. Plan maintenance and tests before changes take effect.
It is useful to perform reconciliation: periodically compare records that should have been sent with those actually received. An error alert helps but does not replace this check. Keep enough of a record to investigate without unnecessarily storing sensitive data or credentials.
Security and data protection: questions to ask
An integration often needs a credential, such as a key or delegated authorisation. Treat it like a key: store it securely, restrict what it can do and revoke or rotate it when appropriate. Do not put it in a public page, email or unprotected shared file.
- Minimum access: allow only necessary operations and records. Authentication identifies the caller; authorisation checks what they can do and which data they can access.
- Minimum data: share only what is needed for the defined purpose. A warehouse may need a delivery address but not the complete sales history.
- Connections and notices: use protected communications and verify webhook authenticity according to the provider's documentation.
- Owners and providers: identify who administers the connection, receives alerts and which third parties process information. Review contracts and obligations applicable to your situation.
- Testing and continuity: use test data where possible, restrict permissions and agree how to pause the connection and recover pending cases.
OWASP's API security risks include broken authorisation and excessive resource consumption. For personal data, the Spanish Data Protection Agency provides guidance for small businesses in Spanish; requirements depend on the processing and providers involved.
How to prepare an integration without starting with the technology
1. Map the current process
Write down what starts it, who participates, which applications are used and where copying or waiting occurs. Choose one part for the first pilot; you do not need to connect every system at once.
2. Define what should and should not happen
Describe a normal example and at least three exceptions: a missing field, an unavailable destination and the same event arriving twice. Identify the source of truth and actions that should still require human approval.
3. Check feasibility
Ask whether each application has an API or connector, which operations your plan allows and whether there are limits, usage charges, documentation and a test environment. If personal data is involved, review permissions and terms before sharing it.
4. Calculate the full cost
Include analysis, configuration or development, licences, testing, supervision, incidents and maintenance. If the flow saves time, measure actual work before and after, including review. Do not automatically treat time freed as cash saved.
5. Test, measure and assign owners
Test with fictional data, then with a small authorised group. Confirm that duplicates, errors and delays are detected; compare source and destination. Assign someone to review alerts, handle incidents and approve changes.
Questions to ask a provider
- Which exact applications and versions are connected, and which operations are included?
- What data is created, changed or deleted? Which system wins if values differ?
- How are failures, duplicates and subsequent changes detected and handled?
- What limits, licences and recurring costs apply?
- Who holds the credentials, documentation and logs? Who can pause the flow?
- How is the integration tested, maintained and migrated or disconnected if we change providers?
Frequently asked questions
Do I need to code to use an API?
Not always. Some products offer connectors or visual tools. Complex rules, security or advanced failure handling may need technical help. Someone still needs to understand and maintain the process.
Is an API always public and free?
No. It may be private or require authorisation, a paid plan or usage limits. Check the specific terms before budgeting or committing to a deadline.
Does an integration change or replace my applications?
Not necessarily. It can connect existing tools, although configuration or data-entry practices may need adjustment. First check that both systems expose the operations you need.
Can any application be integrated?
Not always. It depends on available options, permissions, provider terms and technical feasibility. A file, native feature or manual review may sometimes be more suitable.
Your next step
Choose one piece of information your team copies between two tools and complete the worksheet. With a clear objective, failure examples and assigned owners, you can ask whether an existing connector fits or whether a custom integration is worthwhile.
Do your tools make you copy data?
GonsecLabs analyses workflows and connects systems with rules, monitoring and error handling.
Explore API integrations →Sources: ONTSI: small-business digitalisation report (Spanish); OWASP: API security risks; Stripe: webhooks; Stripe: idempotent requests; AEPD: guidance for small businesses (Spanish). Accessed November 25, 2026.