Choose the Integrately connection that matches your contract
This guide's HTTP recipe calls GenderAPI.io V2 at https://api.genderapi.io/api/v2/gender. Send type and value in the JSON body; read the estimate from data and the request and billing details from meta. Native connectors have their own contracts, as described below.
Integrately's GenderAPI.io listing links to genderapi.io and offers actions for names, emails and extracting a first name from an email. The listing does not expose the underlying API version or complete output schema; action names alone do not establish V2 compatibility.
Integrately documents Webhook/API as an outbound POST action. Its current header and JSON editor controls were not independently verified for this guide. Use the V2 HTTP contract below only after confirming that your action can send an Authorization header and a nested JSON body. Existing native actions keep their own field contract.
Prepare the account and source record
This example enriches Mailchimp records using a name. You need access to the source and destination apps, a GenderAPI.io account key, and the platform features used by the HTTP action. No working credentials or connected accounts are supplied by this guide.
V1 and V2 use the same account key and balance. Verify the key through GET /api/v2/usage before setting up a billable lookup, and check that meta.access.mode is api_key in that endpoint's response. A missing or unrecognized key can fall back to a shared IP trial; it should not silently power a production automation.
Keep the workflow disabled while configuring it. Sending a test prediction still uses normal credits. These instructions were reviewed against public documentation and the V2 contract; an authenticated end-to-end platform workflow was not executed for this publication.
Configure the GenderAPI.io V2 request in Integrately
- Choose the Mailchimp subscriber trigger and inspect one test record. Keep the audience and subscriber identifiers for the update, select the actual first-name field, and skip records without a name.
- Find Webhook/API and its action to send data to a URL. Before proceeding, inspect the available configuration: the following contract requires authenticated headers and a nested JSON body, whose current editor controls were not independently verified here.
- If the action supports those requirements, select POST and the V2 endpoint below. Set the outgoing request to include Authorization: Bearer YOUR_API_KEY and Content-Type: application/json, using the controls available in your account.
- Build a JSON body with type = name, value = the mapped first name, and options containing ai_mode = off. Verify the chosen action's request preview; a flat form payload is not the V2 JSON body.
- Use the platform's JSON mapping or serialization controls for dynamic names. If the selected action cannot preserve nested JSON or authenticated headers, use an HTTP-capable step rather than putting the key or JSON into query parameters.
| HTTP setting | Value | Purpose |
|---|---|---|
Method | POST | Submit one prediction request. |
URL | https://api.genderapi.io/api/v2/gender | The GenderAPI.io V2 single-prediction endpoint. |
Authorization | Bearer YOUR_API_KEY | Replace the placeholder using the platform's authentication/header controls. |
Content-Type | application/json | Send an object with a nested options object, not form fields. |
options.ai_mode | off | A deliberate dataset-only first test; normal charge is 1 credit, even if unknown. |
Check the JSON body before sending
This is a static input illustration, not a predicted result. First verify the request shape; then replace value with the mapped source field using proper JSON serialization. Do not paste platform mapping expressions into the API as literal strings.
For another input, set type to name, email or username and provide the corresponding value. Add country only when reliable context is available; it is optional and is not a country-of-residence lookup.
{
"type": "name",
"value": "Alice",
"options": {
"ai_mode": "off"
}
}Inspect the HTTP step before enabling updates
Test one action deliberately and inspect the returned body before selecting downstream fields. Native GenderAPI.io and Webhook/API steps may present different field labels even when the source customer is the same.
Keep the key in the intended connection or request-authentication controls and restrict who can view or share the automation. The public guide does not include a working key, exported connection or preconfigured customer update.
Route identified, unknown and failed outcomes separately
Parse the response body before choosing a destination update. The JSON paths below refer to the V2 body; your platform may wrap or flatten it. Confirm the actual returned structure with a deliberate test and keep the result attached to the source record ID.
An estimate does not establish a person's identity or self-declared gender. Store it separately from information the person provided. Choose acceptance criteria using evidence for your own workload, and evaluate dataset and AI confidence separately.
| Check | Expected value or type | Workflow decision |
|---|---|---|
meta.access.mode | api_key for this account workflow | Stop on ip_trial; correct the key. A successful trial response does not prove account authentication and may already have used trial credits. |
meta.usage.billing_status | confirmed or unconfirmed | If unconfirmed, retain the request ID and seek billing reconciliation before retrying or proceeding. |
data.result_status / data.gender | identified with male or female; unknown with null | Route accepted identified results to a separate inferred field. Preserve unknowns without assigning a default category. |
data.confidence / data.confidence_kind | number from 0 to 1 or null; evidence kind or null | Interpret observed_frequency and model_reported separately; neither is a universal accuracy guarantee. |
data.source / data.sample_count | dataset, ai or none / integer or null | Retain how the estimate was obtained. AI has no stored sample count; a dataset count is not a product accuracy score. |
meta.request_id / meta.usage | request reference / usage object | Store with your workflow record and result. Keep API keys and unnecessary personal input out of routine logs. |
HTTP failure / missing response | Problem Details or no complete response | Pause the update and inspect error and billing state. A timeout does not prove that the server did no work. |
Update only the intended Mailchimp record
Use the saved Mailchimp audience and subscriber identifiers to select the destination record. Add conditions for the result status and billing/access checks below before writing a separate inferred field or approved tag. Never turn a missing or null gender into a default contact category.
Test the identified, unknown and error branches before enabling updates. You can use synthetic sample responses to exercise branch conditions without issuing another prediction. A destination update should be conditional on the checks above, and should not overwrite unrelated fields or tags.
Control replays and repeated charges
Integrately documents automatic retry behavior, including company-wide controls. Inspect the policy and task history before enabling this automation, and assess other workflows before changing a shared setting. Repeated HTTP lookups are independent billable requests; retain successful output so a later Mailchimp failure can be repaired without another lookup.
Each new GenderAPI request is an independent operation. Deduplicate repeated source events in your own workflow before sending, using a stored source ID and processing state. A source-record ID is not a server-side replay protection key.
A successful unknown is a completed billable result. For a timeout or incomplete response, the result and charge may be unknown; keep the request reference when available and reconcile before resubmitting. Respect Retry-After on rate-limit responses when present.
Choose when to use AI
forceToGenderize is optional for names, email addresses and usernames. With it enabled, omit ai_mode or use fallback; off and always conflict with it and return 422. A positive starting balance is enough to begin a request even if its final charge takes the balance below zero.
Nickname mode can return a gender with name: null. It can also return an unknown result. Neither ordinary fallback nor nickname inference guarantees a correct or non-null answer.
| Request option | Behavior | Credits for a successful lookup |
|---|---|---|
| options.ai_mode: off | Use the dataset only. | 1, including an unknown result |
| options.ai_mode: fallback | Try the dataset, then ordinary AI when no gender is returned. This is the single-request default. | 1 total, including AI fallback |
| options.ai_mode: always | Ask AI directly. | 2 |
| forceToGenderize: true | Try the dataset first, then allow AI to interpret a personal nickname or alias even without a real given name. | 1 for a resolved dataset result; 2 total if AI is used |
Validate the workflow before increasing volume
- Verify the real serialized JSON, parsed output paths, API-key access and confirmed billing with one deliberate test. Test unknown and failure routing with fixtures where possible.
- Confirm which workflow steps retry and which customer fields change. Retain the source record ID, completed response and request reference so a later destination failure does not require another lookup.
- Enable a small controlled run and inspect its records and credits before increasing concurrency. GenderAPI credits and the automation platform's task or operation charges are separate.
- For a batch, use POST /api/v2/gender/batch with up to 50 items for API-key access or 10 for the IP trial. The items array can mix names, emails and usernames, with explicit per-item options and unique IDs. Inspect every result; HTTP 200 may contain partial failures. A native connector's batch support must be checked separately.
Frequently asked questions
Can I map an old native action's probability field to V2 confidence?
Review the response contract first. Direct V2 returns data.confidence with data.confidence_kind on a 0–1 scale or null. A native connector's field labels and scale are not assumed to match those paths.
Does the direct HTTP example allow AI?
The first-request body sets options.ai_mode to off. Change it deliberately to fallback for ordinary AI fallback at 1 credit total, or always for AI at 2 credits. forceToGenderize tries the dataset first and costs 1 credit if resolved there or 2 total when AI is used.
Is an unknown result free, or safe to retry automatically?
No. A successful unknown is billable and complete. A replay is a new operation. For transport errors or unconfirmed billing, inspect the returned usage and request reference before deciding whether to resubmit.
Was this workflow executed in a connected account?
No. The platform setup instructions were reviewed against public documentation on 26 September 2026. The GenderAPI.io V2 request and response explanations were reviewed on 27 September 2026. Test the chosen action's current fields, authentication, body, response and retries in your own account before enabling production updates.
Reference sources
Platform references and the GenderAPI V2 contract were reviewed on . Check the listed platform documentation for current setup controls and action availability.