Quick overview
This workflow collects person details via an n8n Form, chooses the best Searchbug People Trace (api_trace) lookup method, and writes normalized trace results (or validation errors) to Google Sheets.
How it works
- Receives form submissions with optional SSN, name, and address details from an n8n Form.
- Determines the strongest available search strategy (SSN, address + city + state, or name combinations) and prepares the Searchbug request parameters.
- If required fields are missing, marks the request as skipped with an error message.
- Otherwise, sends a POST request to the Searchbug People Trace API (api_trace) and continues even if the API returns an error.
- Normalizes the API response into one output row per returned record, formats fields like dates and phone numbers, and masks SSN to the last 4 digits.
- Appends the resulting rows (success, no results, error, or skipped) to a Google Sheets tab.
Setup
- Add your Searchbug credentials by filling in CO_CODE and PASS in the HTTP request body parameters.
- Connect a Google Sheets account and update the spreadsheet ID and sheet/tab name used for appending results.
- Create the target Google Sheets tab with header columns that match the fields mapped in the append step (for example input_row_id, api_status, full_name, address, phone, and error_message).