How CloudSync's Backend Creates a Personalised Onboarding Link for Every Trial User

CloudSync's engineers call the SimpleURL API at signup to create a branded link per trial user, so onboarding emails and in-app nudges are trackable and on-brand.

SaaS Automation & API 7 min read

TL;DR

2,000Signups/mo automated via API
100%PII-free branded links
38%Email click-through rate

The problem: onboarding emails had zero visibility and looked suspicious to IT buyers

It was 9:15 on a Tuesday morning at CloudSync's Stockholm office, and Lisa Lindqvist was staring at a frustrating drop-off chart. More than 2,000 prospective customers—primarily IT directors at mid-market Nordic and German companies—started a free trial of CloudSync's enterprise file synchronization service every month. But by day four, nearly 65% of those trial accounts remained inactive, having never completed the initial client setup wizard.

Lisa had built an automated three-part onboarding sequence inside Customer.io to nudge administrators through the critical activation milestones: launching the setup wizard, inviting their team leads, and installing the desktop synchronization agent. However, she had no trustworthy way to measure which email nudges were actually driving clicks. The links inside those automated messages were messy, long URLs appended with multiple analytics tracking strings, such as https://cloudsync.io/setup?step=1&tenant_id=98124&utm_source=customerio&utm_campaign=onboarding_day1.

To make matters worse, some team members had experimented with generic public short links to make the calls to action shorter. But enterprise IT security gateways frequently flagged generic shortener domains as spam risks, depressing click-through rates. Lisa needed clean, branded short links on get.cloudsync.io for every single signup. Yet Johan Berg, CloudSync's lead backend engineer, understandably refused to let marketing run manual batch scripts against production databases, nor could developers spend their sprints generating manual tracking links for thousands of weekly users.

What CloudSync needed

Automating onboarding tracking with the SimpleURL URL shortener API

1Provisioning the production API key

Johan began by accessing the SimpleURL workspace settings. CloudSync runs on the Pro plan, which provides up to 10,000 API requests per hour—providing plenty of capacity for their monthly trial volume and automated staging tests. Under Settings → API Keys, Johan clicked Generate New API Key and copied the secret bearer token.

Following CloudSync's security standards, Johan stored the token inside their production secret vault as SIMPLEURL_API_KEY. He configured the service to supply the credential inside the standard X-API-Key request header. Because CloudSync had already configured DNS records for get.cloudsync.io with automatic SSL provisioning, the custom domain was immediately available for programmatic link creation.

2Connecting Node.js to the REST endpoint during signup

Next, Johan integrated the link creation helper into CloudSync's Node.js authentication and signup pipeline. Whenever a new IT administrator completes the trial registration form on cloudsync.io, the backend triggers an asynchronous event handler. Rather than generating links in cumbersome nightly batches, CloudSync constructs them instantly at registration time.

To protect customer privacy, Johan wrote a lightweight helper that computes an opaque, HMAC-derived verification token from the user's tenant identifier. This token is appended to the setup wizard target URL. The Node.js application then sends an HTTP POST request to SimpleURL's https://simpleurl.tech/api/v1/short-urls endpoint with a structured JSON payload specifying the target URL, the custom branded domain, and an internal description.

Figure 1: CloudSync's event pipeline creates an opaque, branded short URL during user registration and binds it to Customer.io profile attributes.
Code snippet: The Node.js implementation requires fewer than twenty lines of code using native fetch. By passing domain: "get.cloudsync.io", the link is provisioned on CloudSync's branded domain immediately, returning a short URL object in roughly 40 milliseconds.

3Syncing personalised URLs into Customer.io onboarding emails

Once SimpleURL returns the JSON response, CloudSync's worker stores the resulting short link directly into the user's profile attribute set within Customer.io. Johan established three distinct attribute fields corresponding to the primary milestones in CloudSync's trial journey:

Because these attributes are bound dynamically to the customer record, Lisa can design clean emails in Customer.io using simple liquid merge tags. The email call-to-action button simply points to the user's unique short link. There are no exposed database primary keys, no personal email strings in the URL parameters, and no generic third-party domains to trigger corporate firewalls.

4Measuring milestone clicks and funnel progression

With the API integration running smoothly, Lisa could finally measure onboarding behavior directly inside SimpleURL's analytics dashboard. Instead of guessing how many trial accounts clicked through each lifecycle email, she could evaluate exact click engagement across all three sequence steps.

SimpleURL displays total clicks, unique clicks, and device types broken down by short link. Lisa discovered that while 71% of trial users clicked the initial setup wizard email, drop-off was concentrated at Step 2 (inviting team members). Armed with real click data, marketing updated the copy for email two and saw team invitations jump significantly.

Figure 2: SimpleURL analytics panel tracking click engagement across each onboarding lifecycle email step.

The results: higher email engagement and zero engineering maintenance

Automating link creation through the SimpleURL REST API transformed CloudSync's trial onboarding experience. Instead of sending generic links or unformatted URLs with unwieldy tracking parameters, every trial email now features clean, branded links that reinforce CloudSync's domain authority.

Because Johan built a reusable helper that connects directly to the signup event, marketing can introduce new email sequences or in-app nudges without requesting engineering resources. Most importantly, enterprise IT directors readily click branded links on get.cloudsync.io, driving an overall 13-percentage-point increase in trial onboarding completions.

Metric Before (Generic / Raw URLs) After (SimpleURL REST API)
Onboarding steps with click data 0 (Aggregated pageviews only) All 3 sequence steps tracked independently
Engineering time per email campaign update 3 hours (Dev ticket + review) 0 min (Marketing uses existing attributes)
Personal information exposed in URL strings Raw email strings & tenant IDs Zero (Opaque hash tokens & clean short slugs)
Welcome email click-through rate (CTR) 18% (Flagged by security filters) 38% (Trusted get.cloudsync.io domain)
Trial setup wizard completion rate 21% 34% (+13 percentage points)

Make it work for your SaaS team

If you manage SaaS signup flows or automated user onboarding, here is how you can implement programmatic link generation effectively:

FAQ

What is the rate limit for the SimpleURL REST API?

Rate limits scale according to your active subscription plan. The Free tier includes 100 requests per hour, the Hobby plan provides 1,000 requests per hour, the Pro plan offers 10,000 requests per hour, and the Team plan delivers 50,000 requests per hour. Every API response includes X-RateLimit-Limit and X-RateLimit-Remaining headers to help your backend avoid throttling.

Can we specify our custom branded domain when creating short URLs via the API?

Yes. By specifying the domain parameter in your POST payload (for example, domain: "get.cloudsync.io"), SimpleURL provisions the link directly on your connected branded domain. This ensures that every programmatic link preserves your corporate branding and SSL encryption.

Can we retrieve click analytics programmatically through the API?

Yes. In addition to creating short links, SimpleURL provides a dedicated analytics endpoint at GET /api/v1/analytics/{keyword}. This endpoint returns total clicks, unique clicks, dates, countries, devices, and browsers, making it easy to pull click metrics into your internal data warehouse or product analytics dashboard.

What if we need no-code automation instead of a REST API?

Teams that prefer no-code workflows can achieve similar automation using SimpleURL's native integrations. You can connect SimpleURL via our Zapier integration or our Make.com integration to automatically create branded links from tools like Airtable, Google Sheets, or CRM webhooks without writing custom backend code.

Automate branded links from your own backend

Integrate SimpleURL's REST API into your signup flow, lifecycle emails, and notification services in minutes.

Start your free trial View API plans
Dynamic links

One Link, Six Ad Platforms: How CloudSync Uses Dynamic Links for Clean Attribution

Branded domains

How CloudSync's Sales Team Uses Branded Links in Cold Outreach Sequences

Automation

How ThreadCraft Auto-Creates a Branded Link and QR Code for Every New Shopify SKU

Analytics

How City-Level Link Analytics Revealed CloudSync's Next Expansion Market

Get closer to your audience today

Your first Short Link & QR code is ready in under 60 seconds.

✓ Free 7-day trial (Extendable to 14)    ✓ Cancel anytime    ✓ 14-day money-back guarantee