Pipedream
The Tomba app on Pipedream provides 20 actions and a connected account you can use in code steps. Pipedream maintains the app in its component registry (source); it's listed at pipedream.com/apps/tomba.
Prerequisites
- A Tomba API key and secret. See Get your key and secret.
- A Pipedream account.
Install and connect
- In a workflow, add a step and search for Tomba.
- Choose an action, or a Node.js code step that uses the Tomba app.
- Connect your Tomba account with your API key and secret.
The app has no triggers. Start the workflow with an HTTP request, a schedule, or another app's event.
Actions
Each action sends one request, so it's charged and throttled like a direct API call: see Credit costs and Rate limits.
| Action | Endpoint | Inputs |
|---|---|---|
| Find Email | GET /email-finder | Domain, First Name, Last Name |
| Verify Email | GET /email-verifier | Email Address |
| Search Domain | GET /domain-search | Domain; optional Page, Limit (10, 20, or 50), Country, Department |
| Enrich Email | GET /enrich | Email Address |
| Find Author | GET /author-finder | Blog Post URL |
| Find LinkedIn Email | GET /linkedin | LinkedIn URL |
| Find Phone | GET /phone-finder | Search Type (domain, email, or LinkedIn URL) and Search Input |
| Validate Phone | GET /phone-validator | Phone Number; optional Country |
| Find Similar Domains | GET /similar | Domain |
| Get Technology | GET /technology | Domain |
| Search Companies | POST /reveal/search | Search Query; optional Search Filters, Limit, Page |
| Get Email Count | GET /email-count | Domain |
| Get Email Format | GET /email-format | Domain |
| Get Email Sources | GET /email-sources | Email Address |
| Get Location | GET /location | Domain |
| Get Domain Status | GET /domain-status | Domain |
| Get Domain Suggestions | GET /domain-suggestions | Search Query |
| Get Account | GET /me | — |
| Get Usage | GET /usage | — |
| Get Logs | GET /logs | Optional Limit, Page |
Check two actions before you rely on them:
- Validate Phone sends Country as a
countryparameter, which the API ignores. Write the number with its+country prefix instead. - Find Phone searches by domain unless you change Search Type. A domain search is charged differently from an email or LinkedIn search; see Credit costs.
Example
Verify the email address posted to a workflow's HTTP trigger, in a Node.js code step. The tomba prop connects your Tomba account; its key and secret are available as this.tomba.$auth.api_key and this.tomba.$auth.api_secret.
Code
axios from @pipedream/platform returns the response body and throws on a non-2xx status. result is one of the result values.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
Connecting the account fails, or a step returns 401 or 400 authentication_failed | The key or secret is wrong or malformed. | Copy both values again from API keys and reconnect the account. See Authentication errors. |
this.tomba is undefined in a code step | The step doesn't declare the tomba app prop. | Add the props.tomba block shown in the example and connect the account. |
A step fails with 402 | Not enough credits for the request. | See Credits and usage. |
A step fails with 429 | A rate limit was hit, or the email count or sources balance is used up. | Send requests one at a time and wait Retry-After seconds before retrying. See Handle 429 responses. |
A step fails with 451 | The address, profile, or phone number is withheld at its owner's request. | Remove the record from your data. |