Get workflow import inputs
curl --request GET \
--url https://openapi.enginy.ai/v1/workflows/import-inputs \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/workflows/import-inputs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/workflows/import-inputs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.enginy.ai/v1/workflows/import-inputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.enginy.ai/v1/workflows/import-inputs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.enginy.ai/v1/workflows/import-inputs")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/workflows/import-inputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"blockId": "<string>",
"inputs": {},
"source": {
"previewId": "<string>",
"maxCount": 123
},
"warnings": [
"<string>"
]
}
}Workflows
Get workflow import inputs
Convert an AI Finder preview into the exact blockId and inputs for a workflow import source. First call preview_an_ai_finder_search with the target audience and provider, or reuse its latest previewId. Pass the number to import on each workflow run as maxCount. LinkedIn people/company searches return a generated Sales Navigator URL: the user does not need to provide one. Also supports Google Maps, fundraising data, StoreLeads, TheirStack and supported CRM searches. Use the returned blockId with empty node inputs and pass { nodeId, ...source } in importSources to validate_workflow, create_workflow or update_workflow_draft. Those endpoints materialize the exact source values server-side; do not copy or reconstruct long encoded URLs. This only prepares configuration; it does not import contacts/companies, create a list, or run/publish a workflow. Expired previews must be regenerated from the audience description. Unsupported sources return an explicit error.
> **Required scope:** `WORKFLOWS_READ`
>
> **Rate limit:** 100 requests per minute
GET
/
v1
/
workflows
/
import-inputs
Get workflow import inputs
curl --request GET \
--url https://openapi.enginy.ai/v1/workflows/import-inputs \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/workflows/import-inputs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/workflows/import-inputs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.enginy.ai/v1/workflows/import-inputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.enginy.ai/v1/workflows/import-inputs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.enginy.ai/v1/workflows/import-inputs")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/workflows/import-inputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"blockId": "<string>",
"inputs": {},
"source": {
"previewId": "<string>",
"maxCount": 123
},
"warnings": [
"<string>"
]
}
}Authorizations
Query Parameters
Latest previewId from preview_an_ai_finder_search.
Required string length:
1 - 200Maximum records to import per run.
Required range:
x <= 10000