Search on this blog

Search on this blog

Custom API connector, connecting your business tools when no ready-made connector exists

Your CRM, your accounting software, your online store and your industry-specific application each hold part of the truth. To get a complete view, you need to bring this data together in one place. Integration platforms offer hundreds of ready-made connectors, but there is always an application missing, a field that does not come through or a Quebec software package that nobody has connected. This is where the custom API connector comes in. API integrations connect your tools to each other and move data flows between several systems, with no manual entry or export.

What is a custom API connector?

An API, or application programming interface, is the door a piece of software opens to other applications so they can exchange data. Modern web APIs most often follow the REST model. An API connector is the program that goes through this door. It authenticates, requests the data page by page, respects the provider's limits and drops the result into your data warehouse, on schedule.

A custom connector is written for a specific API and for your specific needs. It retrieves the objects you care about, with the fields you need, including the custom fields that generic connectors often ignore.

Ready-made connector, no-code tool or custom?

The rule is simple. If a ready-made connector exists and covers your needs, use it. Platforms such as Matillion offer a large catalogue, and a connector maintained by the vendor costs less to keep alive.

Custom becomes the right choice in four situations.

  • The application is not in the catalogue. This is common for SaaS software specific to an industry or developed in Quebec.
  • The connector exists, but it is incomplete. It does not bring an object, ignores custom fields or does not handle incremental loading.
  • The API is unusual. SOAP rather than REST, GraphQL, files dropped on an SFTP server, or special authentication.
  • Volumes or business rules call for fine control. Load order, recovery after an error, filters specific to your company.

No-code automation tools work well to trigger an action between two applications. They are less suited to feeding a data warehouse with full history and large volumes.

Which software can be connected?

If the application offers an API, we build the connector, even when no ready-made one exists. The most common cases are the CRM, accounting software, e-commerce platform, customer service tool, ERP, stock tracking, website, payment solutions and industry-specific applications. When there is no API, other paths exist, such as reading the database directly, as withAS400 data extraction.

How a custom API connector is built

  1. Read the documentation and test. We open a test account, call the API by hand and check that the promised data is really there.
  2. Set up authentication. API keys, OAuth 2.0 or token. Secrets go into a vault, never into the code.
  3. Handle pagination and rate limits. An API rarely returns everything at once. The connector reads pages one by one and slows down when the provider asks.
  4. Plan for incremental loading. After a first full load, the connector only requests what has changed, through a modification date or through notifications (webhooks) when the API offers them.
  5. Load the raw data. The API response is stored as is in theSnowflake data warehouse, then transformed into readable tables. A transformation can then be replayed without calling the API again.
  6. Plan error handling and go-live. The connector retries a page that failed, then an alert goes out as soon as a load fails or brings back far fewer rows than usual.
  7. Document. What the connector reads, how often, and how to restart it.

What drives cost and timeline

Every API is different, and it is the API that sets the effort. The factors that matter are the number of objects to retrieve, the quality of the documentation, the authentication method, whether or not there is a filter by modification date, the rate limits and the data volume. A well-documented API that offers a date filter connects quickly. An API without a filter, with tight limits, takes more work. We assess it by testing the API, not by assuming.

Securing the connector

  • Least privilege. The account used by the connector only has access to the data it needs, read-only when possible.
  • Protected secrets. Keys and tokens live in a vault and change when someone leaves the team.
  • Encryption. All communications go over HTTPS.
  • Personal information. A CRM contains names, email addresses and phone numbers. In the warehouse, access is limited and what must be masked is masked, taking Quebec's Law 25 into account.

When the API changes or goes down

Providers change their APIs. A field is renamed, a version is retired, a service is unavailable for a few hours. A good connector does not break silently. It reports the error, resumes where it stopped, and keeps the raw data so it can be recomputed after a fix. Monitoring is handled by your teams, or by us if you ask.

Who owns the connector?

You do. What we build stays yours. The code, the configuration and the documentation are delivered in your environment, and your team can take them over.

The benefits for the company

  • A single source of truth, instead of Excel exports that contradict each other.
  • Up-to-date data without manual handling, so fewer errors and less time lost.
  • The full history, kept even when the source application does not keep it.
  • The freedom to choose your business tools without waiting for a connector to exist.
  • A scalable foundation. Adding an application means adding a connector, without redoing the rest.

An application to connect and no connector in the catalogue? Let's talk about your project.

Frequently asked questions

What is an API connector?

It is a program that uses a software's API to extract its data, or to send data to it, automatically and at regular intervals.

Can data be synchronized in real time?

Often, yes, when the API offers notifications, called webhooks. For analysis and dashboards, an hourly or nightly load is enough in most cases, and it costs less to run.

Can data be synchronized both ways?

An API often allows writing as well as reading. We decide case by case, because writing into a production system calls for more safeguards than reading.

What if the software has no API?

We look at the other doors. A database readable with SQL, exports dropped on a file server, or an API added by the vendor on request.

Do you need an integration platform to run the connector?

It is not mandatory, but it is recommended. A platform such as Matillion orchestrates the connectors, keeps the run history and sends the alerts.