Keephub icon

Keephub

Interact with Keephub API

Form Submission → Calculate Response Duration

AI-generated

Summary

Calculate the elapsed time between a Keephub form’s creation and its submission. Provide a form submission ID; the operation fetches the submission and its referenced form, then returns the timestamps and duration broken down into days, hours, minutes, and seconds.

Inputs

  • Authentication (required) — Choose Bearer Token or Login Credentials and configure the matching Keephub credentials.
  • Form Submission ID (required) — The submission’s 24-character hexadecimal MongoDB ObjectID.

Output shape

A single item containing the form ID, form creation timestamp, submission timestamp, and formatted duration.

The duration is returned as duration.timeSinceFormCreated, formatted as “Xd Xh Xm Xs”. The operation errors if the ID is invalid or the submission has no content reference.

Links

Discussion