Skip to guide
HelpGuides ↓
Main website ↗

Integrations

Connect an external form with an inbound webhook

Create a company-specific endpoint so another website, form builder, or CRM can send lead data into Truckers Data.

Admin4 min read

Choose a webhook when another system sends the lead

An inbound webhook receives a lead from another service. The sender makes a request to an endpoint generated for your company, authenticates that request, and supplies JSON data. You then map that data into applicant, application, and custom-field destinations.

Open Settings → My Company → Webhooks. A recruiting administrator working on a linked carrier should open the carrier’s Webhooks tab instead. The company that owns the webhook is the company that receives the application.

Choose a webhook when another system sends the lead in Truckers Data — desktop view
Each row is an inbound connection for the selected company. Sample data.

Create the connection

  1. Select Add Webhook.
  2. Enter a descriptive Name, such as the name of the form or partner sending leads.
  3. Leave Direction at Inbound and choose the appropriate Status.
  4. Copy the generated Endpoint URL and Auth Secret into the sending service’s configuration. Keep the values in a suitable credential store.
  5. Create the webhook. The success message prompts you to add field mappings.
  6. Open Field Mapping, paste a real sample JSON object, and map its fields. Follow the webhook mapping guide.
  7. Send one controlled test lead from the external service and verify the returned response and the application it creates.
Create the connection in Truckers Data — desktop view
The creation form generates connection-specific values. Sample data.

Creation and editing fields

Field or buttonWhat it does
NameA recognizable label for this source. It helps your team distinguish several partner forms.
DirectionInbound; fixed in this release.
Status: Active / InactiveActive accepts an enabled connection’s requests. Inactive stops it being accepted as an active inbound source. The table displays Connected / Disconnected status names.
Webhook TokenThe generated secret URL token. Copy it when shown; existing tokens cannot be revealed later.
Endpoint URLThe URL the sender must call. Copy the complete URL generated by your own account.
Auth SecretThe secret the sender uses to authenticate its payload. This is separate from the URL token.
Option 1: Simple Auth KeyShows the header name for direct secret authentication.
Option 2: Dynamic Payload SignatureShows the signature-header method, which signs the raw request body with the secret.
Creation and editing fields in Truckers Data — desktop view
URL credentials and request authentication are separate parts of the connection. Sample data.

What the sending system must configure

Ask the person configuring the sending system to use an HTTP POST to the copied endpoint, with the actual JSON data in the request body. Set Content-Type: application/json. Authentication can use either X-TruckersData-Secret containing the generated secret, or X-TruckersData-Signature containing sha256= followed by the HMAC-SHA256 of the exact raw request body using that secret.

The signature must match the bytes that are sent. Reformatting JSON after calculating the signature changes those bytes. The sender should calculate the signature only after it has finalized the body.

The endpoint has a 64 KiB body limit and a request rate limit of 60 per minute. A successful acceptance response includes a status and a delivery reference. Keep that response for troubleshooting; acceptance and later application processing are separate steps.

Connection buttons and maintenance

Field or buttonWhat it does
Field MappingEdits the sample payload and source-to-target mapping for future processing.
EditChanges the connection’s label, Active/Inactive status, and editable configuration.
DisableAsks for confirmation, then marks the inbound connection disconnected. It does not delete applications already created.
EnableMarks a disconnected inbound connection connected again. Confirm that the sender still uses its current URL and secret.
Regenerate Token → Save new URLReplaces the URL token. The old endpoint URL stops identifying the active connection; update every sender using it.
Regenerate Secret → Save new SecretReplaces the authentication secret. Update the sender’s secret or signature configuration at the same time.
Last UsedThe connection’s most recently recorded delivery activity.
Last ErrorThe latest recorded processing error, if present. Read it with the sender’s response or delivery reference.

If the sender gets an error

Field or buttonWhat it does
403 / unauthorizedCheck Active status, the copied endpoint, the secret, and the signature calculation. A regenerated token or secret invalidates the old sender configuration.
413 / payload too largeReduce the request body to the mapped lead fields and keep it within the body limit.
422 / invalid dataRead the returned validation details. Check required email mapping and the actual values supplied for each mapped target.
429 / too many requestsSlow down the sender and retry with an appropriate delay rather than repeatedly posting immediately.
503 / missing form configurationFinish Field Mapping and save it so the inbound form configuration exists.
Accepted response but no applicationCheck Last Error, mapping configuration, and whether the form is active/selected. A queued delivery may not yet have finished processing.