You can create a data connector by providing the required parameters.
A description of what this data connector does.
The internal description of the data connector. If omitted, it is an empty string.
The HTTP method used when calling the external API.
The URL of the external API endpoint. Supports template variables like {{order_id}}.
Whether the connector is used directly by Fin (true) or only in workflows (false). Defaults to false.
The user types this connector is available for.
[ "leads", "visitors" ]
HTTP headers to include in the request. Don't put credentials such as API keys here: header values are recorded unmasked in the connector's execution logs, except Authorization, which is always masked. Attach an authentication token with token_ids instead; its value is masked in execution logs.
Whether the connector requires OTP verification before executing. Defaults to false.
Whether authentication is bypassed entirely (public endpoint). Defaults to false.
Whether authentication is enforced. It takes precedence over customer_authentication and bypass_authentication when sent together, and setting it to false disables OTP. Turning customer authentication off (this field false, or, when it isn't sent, bypass_authentication: true without customer_authentication: true) needs an access token from an app owned by this workspace with the write_data_connector_security_settings scope.
Whether to validate that all required data inputs have values before executing.
A sample JSON response from the external API. Auto-generates response_fields and sets configuration_response_type to mock_response_type.
{ "order": { "id": 12345, "status": "shipped" } }
{ "name": "Get Order Status", "description": "Looks up order status from an external service", "internal_description": "string", "http_method": "get", "url": "https://api.example.com/orders/{{order_id}}/status", "body": "string", "direct_fin_usage": false, "audiences": [ "leads", "visitors" ], "headers": [ { … } ], "data_inputs": [ { … } ], "customer_authentication": false, "bypass_authentication": false, "enforce_auth": true, "validate_missing_attributes": false, "mock_response": { "order": { … } }, "token_ids": [ "1234", "5678" ] }