Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
AnthropicIcon,
BrandfetchIcon,
ExaAIIcon,
FindymailIcon,
FirecrawlIcon,
FireworksIcon,
GeminiIcon,
Expand All @@ -32,7 +33,9 @@ import {
ParallelIcon,
PeopleDataLabsIcon,
PerplexityIcon,
ProspeoIcon,
SerperIcon,
WizaIcon,
} from '@/components/icons'
import { Input } from '@/components/ui'
import { BYOKKeySkeleton } from '@/app/workspace/[workspaceId]/settings/components/byok/byok-skeleton'
Expand Down Expand Up @@ -172,6 +175,27 @@ const PROVIDERS: {
description: 'Person and company enrichment, search, and identity',
placeholder: 'Enter your People Data Labs API key',
},
{
id: 'findymail',
name: 'Findymail',
icon: FindymailIcon,
description: 'Email finder, verification, and phone lookup',
placeholder: 'Enter your Findymail API key',
},
{
id: 'prospeo',
name: 'Prospeo',
icon: ProspeoIcon,
description: 'Person and company enrichment and search',
placeholder: 'Enter your Prospeo API key',
},
{
id: 'wiza',
name: 'Wiza',
icon: WizaIcon,
description: 'Prospect search, individual reveal, and company enrichment',
placeholder: 'Enter your Wiza API key',
},
]

export function BYOK() {
Expand Down
14 changes: 13 additions & 1 deletion apps/sim/blocks/blocks/findymail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,26 @@ export const FindymailBlock: BlockConfig<FindymailResponse> = {
placeholder: 'e.g. React, TypeScript, Node.js',
},
},
// API Key
// API Key — hidden on hosted Sim for operations with hosted-key support
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
required: true,
placeholder: 'Enter your Findymail API key',
password: true,
hideWhenHosted: true,
condition: { field: 'operation', value: 'findymail_get_credits', not: true },
},
// API Key — always required for the credit-balance lookup (no hosted key)
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
required: true,
placeholder: 'Enter your Findymail API key',
password: true,
condition: { field: 'operation', value: 'findymail_get_credits' },
},
],
tools: {
Expand Down
21 changes: 20 additions & 1 deletion apps/sim/blocks/blocks/prospeo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,33 @@ export const ProspeoBlock: BlockConfig<ProspeoResponse> = {
condition: { field: 'operation', value: 'prospeo_search_suggestions' },
},

// API Key (always last)
// API Key — hidden on hosted Sim for operations with hosted-key support
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
required: true,
placeholder: 'Enter your Prospeo API key',
password: true,
hideWhenHosted: true,
condition: {
field: 'operation',
value: ['prospeo_search_suggestions', 'prospeo_account_information'],
not: true,
},
},
// API Key — always required for the free account/suggestion lookups (no hosted key)
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
required: true,
placeholder: 'Enter your Prospeo API key',
password: true,
condition: {
field: 'operation',
value: ['prospeo_search_suggestions', 'prospeo_account_information'],
},
},
],
tools: {
Expand Down
Loading
Loading