Send a Profile Picture from n8n to Image Analysis
Map an incoming n8n image binary to the multipart file field, call AvatarLookup image analysis, and inspect completed and failed responses.

An n8n HTTP Request can send an existing image binary as a multipart file for AvatarLookup image profile analysis.
Inspect the incoming n8n item to find its binary property, then send that property as the multipart file field to AvatarLookup with service_type set to image_profile. Keep the API key in an n8n credential and inspect the response before using any image attributes.
Start with the actual binary item
Suppose a form or Webhook gives your workflow a profile picture that your team is permitted to process. Run the incoming node once with a small test image and open its output. In n8n, look under Binary for the property that contains the file. A form may call it data, while another node may produce data0 or a name you chose. The property name is part of your workflow, not a fixed AvatarLookup field.
Check the displayed filename, media type, and size before adding the HTTP Request. AvatarLookup image profile analysis accepts JPEG, PNG, WebP, or GIF files up to 2 MB. If the item contains only an image URL or a JSON string, obtain an actual binary file in an earlier node. The documented API request sends a multipart file; a URL pasted into the file parameter is not that file.
Keep your own source record reference alongside the item. If several images enter the workflow, check one item at a time so you can tell which response belongs to which incoming file. You can attach a contact record key or submission key in your own workflow metadata. Do not assume the picture fingerprint returned by analysis identifies a person or an account.
Map the binary into HTTP Request Form-Data
Add an HTTP Request node after the node that still has the binary. Set Method to POST and URL to https://api.avatarlookup.com/api/v1/image/profile. Choose Generic Credential Type with Header Auth, using header name X-API-Key and your key as the credential value. This keeps the secret out of the workflow text and sample screenshots.
Turn on Send Body and select Form-Data. Add these body parameters:
| Parameter type | Name | Value or input field |
|---|---|---|
| Form Data | service_type |
image_profile |
| n8n Binary File | file |
The actual incoming binary property, such as data |
The Name of the binary parameter is the API's multipart field, file. Input Data Field Name is the property you saw under Binary. They can have different names. For example, if the incoming property is data0, keep Name as file and enter data0 as Input Data Field Name. Let the node construct the multipart boundary; do not paste a JSON body or force a generic Content-Type: multipart/form-data header without its boundary.
If an intervening node replaced the item and dropped its binary, reconnect the request to the item that holds the file or explicitly pass the binary through. A successful upstream download does not prove the request node still receives it.
Inspect a completed response and a failed request
Test with one permitted image. First confirm the HTTP outcome and the returned application message. A transport or authentication failure calls for checking the node URL, credential, file mapping, and file constraints. Do not turn a failed request into a blank image category or silently resubmit an entire group of items.
For a completed image analysis, read the returned image category and only the appearance attributes actually present. Age may be absent; gender or color estimates may be unknown. A nonhuman picture or unknown estimate can still be a completed analysis. Preserve the original source record reference and analysis time in your own downstream record so a reviewer can compare the result with the right picture. The content-derived fingerprint is useful as an image reference, not as proof of identity.
If you write results into a review sheet or contact system, use separate columns for the source record, request outcome, returned category, optional estimates, and human decision. Keep the human decision empty until someone makes it. Category and appearance estimates describe the submitted image; they do not verify who owns the image, whether it belongs to the contact, or whether it meets your moderation policy.
Check the mapping before activating the workflow
Run a controlled test with a supported image and inspect both the incoming Binary panel and the HTTP node's request configuration. Then test a missing binary property and an oversize or unsupported file locally, before a request is sent. Confirm that each case is reported to the operator with the original submission key, rather than producing a misleading success row. If your workflow handles multiple items, use two distinct images and confirm that their source keys stay attached to the corresponding responses.
The exact node labels can vary with your n8n version, but the mapping stays the same: an existing binary property becomes the file part of Form-Data, and service_type identifies image_profile. For the current API contract and supported file types, consult the AvatarLookup API documentation and image profile page while configuring your workflow.
Learn More
Choose the product information that fits the next step in your workflow.