Urgent.News

What's breaking now, across thousands of outlets.

Tech

Node.js Batch Document Summarization for CRM Actions in 5–30 Minutes (and Why I Chose One)

Short answer: use an asynchronous batch API for post-call CRM summarization, put it behind a provider adapter, and make the adapter's contract stable enough that the model backend can change without changing the CRM worker. For customer-support teams turning sales calls into CRM actions, asynchronous batch summarization is the better default when results do not need to appear during the call.…

Processing multiple documents for summarization is possible through asynchronous batch API usage. This approach should be implemented behind a provider adapter with a stable contract, ensuring the model backend can change without affecting the CRM worker. The bulk summarization process involves submitting multiple transcripts, recording the returned job ID, polling the status at regular intervals, and writing approved actions to the CRM once the result is complete.

It is essential to treat the summary as a separate entity from the CRM write, storing the raw summary and source document identifier before evaluating the output against a small labeled set. This evaluation should focus on aspects such as missing next steps, incorrect owners, invented dates, and malformed action fields, rather than the overall paragraph quality.

Only after this evaluation should a separate step create or update CRM actions. The contract between the components is crucial, as it allows for safe retries using an idempotency key and ensures that polling can be repeated without issues. The provided Python batch client demonstrates a small and auditable API call, reading the key from the environment, handling rate limiting with exponential backoff, and raising useful errors for unsuccessful responses.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

One dotvault pull, the same .env everywhere: laptop, CI, cloud dev environments

This is part 2 of the series "dotvault, Start to Finish: One Command from Your Laptop to CI, Your Team, and Your AI Agents." dotvault will be released free of charge when this series ends.

  • Install dotvault CLI globally using npm i -g @earthlink/dotvault
  • Log in with dotvault login, enter email and password
  • dotvault whoami displays email, token expiry and organization details

folderblog 0.2.9: Fixes from a full QA pass, and podcast addresses that stay put

folderblog 0.2.9 is a fix release that came out of a full QA pass over this morning’s 0.2.8 . That pass followed the published instructions step by step, the way a new user would, and the rough edges…

  • Podcast feed title updated to include blog name for clarity
  • New dates.toml file stores date info for posts without dates
  • [podcast.storage] prefix setting pinpoints episode file folder

Publish Flutter App to Google Play: The End-to-End Release Guide

Flutter makes building the app the easy part. Shipping it to Google Play — release signing, Gradle configuration, the AAB build, the store listing — is where Flutter developers lose the most time.

  • Generate release keystore and add details to key.properties and build.gradle
  • Configure app/build.gradle settings for release (namespace, compileSdk, etc.)
  • Build Android App Bundle (AAB) and upload to Google Play Console for testing

How Taocarts Keeps Reverse-Taobao Orders From Double-Charging Customers

How Taocarts Keeps Reverse-Taobao Orders From Double-Charging Customers Taocarts, a reverse-taobao shopping and consolidation service, lets overseas buyers purchase from Taobao, 1688 and a few other…

  • Taocarts consolidates shopping from various Chinese marketplaces.
  • Addresses double-charging issue in reverse-Taobao orders.
  • Implements strict state machine and idempotency keys to prevent double charges.

Building a remote MCP server in plain Laravel (no SDK): notes from a tax-hours app

PropHours is a material participation log for rental property owners. People use it to record the hours they spend on their rentals, because US tax rules such as the STR loophole and real estate…

  • Remote MCP server built in Laravel without SDK
  • Four RPC methods: initialize, ping, list, call
  • OAuth security with dynamic client registration and PKCE S256

More from Sunday 25 October →