What Pipedream is and how it calls outside APIs
Pipedream is an automation platform aimed at developers. A workflow starts from a trigger, such as an HTTP request, an email or a schedule, and then runs steps in order. A step can be a pre-built action or code you write. Each step can read the data exported by the steps before it.
Pipedream's documentation describes two ways to make an arbitrary API call. The first is an action named Send any HTTP Request, which opens an HTTP request builder the docs describe as a Postman-like interface for setting the URL, headers and body. The second is a code step. The Node.js docs show a component that imports axios, wraps the logic in defineComponent, and does the work inside async run({ steps, $ }).
SimilarIQ has no Pipedream-specific app, source or action. It does not need one for this. The REST API is a single synchronous endpoint with a header key, which is the shape both of those Pipedream routes expect.
Why connect Pipedream to SimilarIQ
SimilarIQ answers one question: which companies look like this one. You send a domain and get back up to 100 ranked results, each with matchScore, a relationship type of Direct, Indirect, Adjacent or Emerging, a confidence score and a likelyCompetitor flag. The response also includes searchId, totalCompetitors, elapsedSeconds and creditsRemaining.
Pipedream suits this output because it needs code-level handling. One response is an array of 100 objects. You will want to filter by score, remove domains already in your database, and fan the survivors out to other systems. A code step does that in a dozen lines, where a no-code tool would need a loop and several filter blocks.
It also suits event-driven use. A webhook from your product, a new row in a warehouse table or a nightly schedule can each start a search with no person involved. The CRM enrichment use case describes what to do with the list afterward.
Fix the timeout before you build
This is the step people miss. Pipedream's limits page states that HTTP-triggered and email-triggered workflows default to 30 seconds per execution, and cron-triggered workflows default to 60 seconds. A SimilarIQ search takes roughly 30 to 60 seconds because it is a fresh research pass. On default settings, the workflow can be stopped while it is still waiting for the answer.
The same page says you can raise the limit up to a maximum set by your plan: 300 seconds on free tiers and 750 seconds on paid tiers. The settings page places the control under Workflow Settings, in the Execution Controls section, as Execution Timeout Limit. Set it to 120 seconds or more for a workflow that runs one search, and higher if it runs several in sequence.
Memory is a separate setting. Workflows run with 256MB by default, and Pipedream charges credits in proportion to the memory you configure. A 100-row JSON response does not need more.
Setup walkthrough: the HTTP request action
Create a SimilarIQ API key in the app after you register. It begins with sk-live- and is displayed once. Then build the step. The action name below is from Pipedream's current docs; the labels inside the builder are described generically because the docs do not name each tab and menu names change.
Pipedream's builder has an Authorization Type dropdown for connecting accounts of apps Pipedream already knows. SimilarIQ is not one of them, so skip that dropdown and add the header by hand.
- Add a step and choose the Send any HTTP Request action.
- Set the method to POST and the URL to
https://similariq.ai/api/v1/search. - Add a header named
X-API-Keywith your key as the value.Authorization: Bearer sk-live-...is also accepted. - Set a JSON body of
{"domain":"stripe.com","limit":100}. For real runs, reference the domain from the trigger step instead of hard-coding it. - Test the step. Expect a wait of up to a minute, then a 200 response with the ranked list.
- Add a second request step with a GET to
https://similariq.ai/api/v1/balanceif you want a free pre-flight check.
Setup walkthrough: a Node.js code step
A code step gives you error handling and filtering in one place. Follow the structure in Pipedream's Node.js docs: import axios from 'axios' at the top, then export default defineComponent({ async run({ steps, $ }) { ... } }). Inside run, call await axios({ method: 'POST', url: 'https://similariq.ai/api/v1/search', headers: { 'X-API-Key': KEY }, data: { domain, limit: 100 } }). Pipedream's docs stress that asynchronous calls must be awaited, or the step ends before the response arrives.
Keep the key out of the code. Pipedream's docs mention environment variables for API-key services and show props marked secret: true for sensitive inputs. Use one of those and reference it where KEY appears above. The docs page reviewed here does not show the exact environment-variable syntax, so follow the current Pipedream reference for it.
The SimilarIQ Node SDK is an alternative to hand-written requests. It is published as similariq-sdk, has zero dependencies and exposes search, balance, results and the bulk methods. Pipedream's docs say code steps can use any npm package. See the SDK page for the method signatures.
Example tasks
Each of these is one workflow. Paid calls are marked; everything else is a free read.
- On an HTTP trigger carrying a domain, run a search and return the top 25 Direct results to the caller. One credit.
- On a schedule, read a list of seed domains, call
POST /api/bulk/upload, and store the returnedjobId. One credit per domain. - In a second scheduled workflow, call
GET /api/bulk/jobs/:idand, when the job is done, download the CSV. - Before any search, call
GET /api/historyand skip domains searched recently. - After a search, call
POST /api/searches/:id/shareand post the read-only link to chat. - Each morning, call
GET /api/v1/balanceand alert if credits fall below a number you choose. - Pull
GET /api/my-companiesweekly and load it into a warehouse table for analysts.
Controlling spend
Pricing is $0.0025 per look-alike, so a full search of 100 is $0.25, and the price does not change with the limit you send. Twenty searches cost $5.00. A workflow that processes 200 domains costs $50. A bulk file of 500 domains costs $125. Pipedream bills its own credits on top, according to its pricing, which this page does not quote.
Guard against the two ways an event-driven workflow overspends. The first is duplicate events: dedupe on domain before the paid step, using history as the record of what was already searched. The second is automatic re-execution after an error. A 502 from SimilarIQ means the search failed and the credit was refunded, so retrying that is safe. A timeout on the Pipedream side is different: check history before you run the domain again.
Set the outer limit in SimilarIQ. With auto-refill off, spending stops when the balance is gone. With it on, the monthly cap is a hard ceiling on card charges. Details are under spend controls.
Two workflows end to end
Signup to look-alikes. Your product sends a webhook when a company signs up. Step one extracts the email domain and drops free-mail providers. Step two checks history. Step three runs the search. Step four keeps results with likelyCompetitor false and a match score above your threshold, since for prospecting you want similar buyers, not rivals of the new customer. Step five writes them to your database. SimilarIQ supplies company, domain and scores only; add headcount or contacts from your own enrichment source.
Nightly category refresh. A cron trigger reads ten seed domains from a table and submits one bulk job. A second workflow, scheduled an hour later, polls the job, downloads the CSV and upserts it by domain. Companies that appear under several seeds are the core of the category. Ten domains cost $2.50 per night. The bulk search feature page explains the job lifecycle.
Troubleshooting and security
If the execution ends with a timeout and no HTTP status, raise Execution Timeout Limit as described above. A 400 means the body is malformed, usually a missing domain. A 401 means the key is missing or revoked. A 402 means the balance is empty. A 429 means the rate limiter is smoothing a burst; add a delay between calls or lower concurrency. A 502 means the search failed and was refunded.
On MCP: SimilarIQ runs a hosted MCP server at https://similariq.ai/mcp, but this page did not verify a Pipedream feature for calling a remote MCP server from inside a workflow, so it documents the REST route only.
Use a dedicated key for Pipedream and revoke it from the SimilarIQ app if a workflow or workspace is compromised. Do not log full request headers in step exports, because exports are visible to workspace members. Treat returned company names as untrusted text when you interpolate them into later steps.
Frequently asked questions
Does SimilarIQ have a Pipedream app or pre-built action?
No. There is no native SimilarIQ integration in Pipedream. You use Pipedream's generic Send any HTTP Request action or a code step to call the SimilarIQ REST API with your API key.
Why does my Pipedream workflow time out on a SimilarIQ search?
Pipedream's docs state a default of 30 seconds for HTTP-triggered workflows and 60 seconds for cron-triggered ones, and a search takes roughly 30 to 60 seconds. Raise Execution Timeout Limit in the workflow's settings; the stated maximum is 300 seconds on free tiers and 750 seconds on paid tiers.
Which header does the SimilarIQ API expect?
Send X-API-Key: sk-live-.... The API also accepts Authorization: Bearer sk-live-.... The same key works for the REST API, the SDKs, the CLI and the MCP server.
Can I use the SimilarIQ Node SDK inside a Pipedream code step?
Pipedream's docs say Node.js code steps can use any npm package, and the SDK is published as similariq-sdk with zero dependencies. It requires Node 18 or later; this page did not verify which Node version Pipedream runs.
How much does it cost to run SimilarIQ from Pipedream?
SimilarIQ charges $0.25 per search for up to 100 look-alikes, and reads such as history and balance are free. Pipedream's own usage charges are separate and set by Pipedream.
What happens if a search fails mid-workflow?
The API returns 502 and the credit is refunded automatically, so a retry is safe. If Pipedream itself timed out instead, check search history before running the same domain again.