matt-taylor.tech
← Back to projects

Open source

Dell warranty to Freshservice sync

github.com/matt-taylor-tech/DellWarrantytoFreshserviceAssets ↗

Python Dell TechDirect API Freshservice API OAuth 2.0 GitHub Actions

I built a Python integration that adds Dell warranty coverage to Freshservice assets, so technicians can check what is covered before arranging a repair.

Checks before updates

  • Unknown is not expired. Unrecognized active coverage is left unwritten rather than guessed.
  • Dry-run by default. Writing requires an explicit apply flag, and a write cap limits the impact of a bad configuration or upstream API change.
  • Runtime field discovery. Freshservice custom-field keys are resolved by label, so the tool is portable across tenants.
  • Idempotent updates. Unchanged data generates no write.
  • Collision and scope guards. The integration refuses duplicate service tags, ignores non-Dell assets, and never creates or deletes an asset.

Setup and testing

The tool uses Python’s standard library and reads credentials from environment variables. GitHub Actions runs offline tests of the update rules. The repository includes setup instructions, failure alerts, and options for scheduled deployment.