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 { shopifyAuth } from '../..';
import { getLocations } from '../common';
export const getLocationsAction = createAction({
auth: shopifyAuth,
name: 'get_locations',
classification: 'SEARCH',
displayName: 'Get Locations',
description: 'Get every location in the store.',
audience: 'both',
aiMetadata: { description: 'List all store locations (warehouses, retail outlets) configured in Shopify, with no input required. Use to discover location IDs needed by inventory actions such as Adjust Inventory Level. Read-only and idempotent.', idempotent: true },
props: {},
async run({ auth }) {
return await getLocations(auth);
},
});