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 { createAction } from '@activepieces/pieces-framework';
import { getBrands } from '../api';
import { sendyAuth } from '../auth';
export const getBrandsAction = createAction({
name: 'get_brands',
classification: 'SEARCH',
auth: sendyAuth,
displayName: 'Get Brands',
description: 'Get a list of brands from Sendy',
audience: 'both',
aiMetadata: { description: 'Retrieves all brands configured in the connected Sendy installation. Use to discover available brand IDs, e.g. before listing a brand\'s lists. Takes no input and is read-only and idempotent.', idempotent: true },
props: {},
async run(context) {
return await getBrands(context.auth);
},
});