Add website technologies to a CRM account
Use a company website to show detected technologies, versions, and their recorded check time on an account card.
Working example
ParseAPISet up ParseAPI
Set PARSEAPI_KEY in your server environment. Use Node.js 22 or later.
export PARSEAPI_KEY='YOUR_SECRET_API_KEY'Give an account useful website context
Your CRM already knows an account's website. Add a compact technology card so a teammate can see detected platforms before a conversation, without leaving the account view.
This example keeps a fictional Acme Studio account beside an editable website field. It checks the public website through ParseAPI, then groups the result into useful categories. The card is a recorded observation, rather than a complete software inventory or a monitoring service.
1. Use the account's website as the input
Pass the existing account website into a named form field:
const form = `<section class="account"><h2>Acme Studio</h2><p class="note">Account website</p></section>
<form method="post" action="/">
<label for="website">Website domain</label>
<input id="website" name="website" type="text" maxlength="253" required
autocomplete="off" autocapitalize="none" spellcheck="false"
value="${escape(fields.website ?? 'wordpress.org')}"
aria-describedby="website-help">
<p id="website-help" class="note">Use a public hostname, without https:// or a path.</p>
<button type="submit">Check technologies</button>
</form>`;The server accepts one public hostname, without a scheme or path, and normalizes internationalized names. In your CRM, use the website already attached to the account; let the person correct it before checking.
The Node app keeps its secret PARSEAPI_KEY on the server. The browser sends only the website field to the app, and the server makes the lookup.
2. Request the detected technologies
Send the submitted hostname to the Stack API.
const stack = await parse.stack(website, { signal });The response identifies domain, the checked homepage url, and checked_at. Technology collections include cms, servers, frameworks, ecommerce, analytics, chat, payments, and hosting.
The complete source verifies the requested domain and collection shapes before rendering them. The server gives the lookup 35 seconds. Pressing the button starts one attempt.
3. Turn the returned groups into account context
Each technology has a stable technology code, display name, and a nullable version. Render the useful labels and versions under their categories:
const groups = Object.entries(CATEGORIES)
.filter(([key]) => stack[key].length > 0)
.map(([key, label]) => `<div><h3>${label}</h3><ul>${
stack[key].map(technology => `<li>
<span class="technology">${escape(technology.name)}</span>
<small>${technology.version === null
? 'Version not detected' : escape(technology.version)}</small>
</li>`).join('')
}</ul></div>`).join('');
const unmatched = Object.entries(CATEGORIES)
.filter(([key]) => stack[key].length === 0)
.map(([, label]) => label);A null version means no explicit version was detected. An empty category means no matching technology was detected, rather than proof that the site does not use one. Keep those meanings in the account card.
When the page could not be checked, checked_at and all collections are null. Show that no inventory is available instead of presenting an empty successful check.
4. Keep the observation with the account view
Use the returned check time and page alongside the rendered groups:
return `<section class="result"><h2>Acme Studio website technologies</h2><p>${escape(stack.domain)}</p>
<p class="note">Checked <time datetime="${escape(stack.checked_at)}">
${escape(new Date(stack.checked_at).toISOString())}</time>.
Cached results keep the original check time.</p>
<p class="note">Page: ${escape(stack.url)}</p><div class="grid">${groups}</div>
${unmatched.length ? `<p class="note">No matches detected for: ${unmatched.join(', ')}.</p>` : ''}
<p class="note">Detection uses the homepage and response headers.
A missing match does not establish that a technology is absent.</p></section>`;Cached results keep their original checked_at. Display that time rather than replacing it with the time someone opened the CRM. Detection uses the static homepage and response headers; JavaScript-loaded and unexposed technologies can be missed.
In your application, attach the observation to the existing account record using your own CRM storage. The standalone app renders one account card and stores nothing. It schedules no checks. Editing the website clears the previous result and cancels the pending request, while account or network failures leave the form available to retry.
See the Stack reference for response semantics and detection scope.
Complete example
Use the complete implementation as a reference when adding this feature to your app. It includes the validation and failure handling around the calls above.
View and copy the complete source
Try the complete example on your computer
After completing the setup above, save the source in your application folder and start the app:
node crm-website-technologies.node.mjsOpen 127.0.0.1:8000 to use the form. The server keeps your secret key out of the page.
For every field and parameter, see Stack API reference.