AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { trueLayerCommon } from '../../common';
export const searchPaymentProviders = createAction({
auth: trueLayerCommon.auth,
name: 'search-payment-providers',
classification: 'SEARCH',
displayName: 'Search Payment Providers',
description: 'Returns a list of payment providers.',
audience: 'both',
aiMetadata: { description: 'Search and list available TrueLayer payment providers (banks) that can be offered to a payer. Use to discover provider options before initiating a payment; read-only and safe to repeat. To fetch one provider by its known ID instead, use Get Payment Provider.', idempotent: true },
props: {},
run: async (ctx) => {
const response = await httpClient.sendRequest({
method: HttpMethod.POST,
url: `${trueLayerCommon.baseUrl}/v3/payments-providers/search`,
body: ctx.propsValue,
})
return response.body;
},
});