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 { webflowAuth } from '../auth';
import { webflowApi } from '../common/api';
import { listSitesOutputSchema } from '../output-schemas';
export const listSitesAction = createAction({
auth: webflowAuth,
name: 'list_sites',
outputSchema: listSitesOutputSchema,
classification: 'SEARCH',
description: 'List all sites',
displayName: 'List Sites',
audience: 'human',
aiMetadata: { description: 'Lists all Webflow sites accessible to the authenticated account, returning their IDs and metadata. Use to discover a site ID needed by other actions (collections, orders, form-submission trigger). Read-only and idempotent; takes no input.', idempotent: true },
props: {},
async run(context) {
return await webflowApi.listSites({ auth: context.auth });
},
});