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 { Property, createAction } from '@activepieces/pieces-framework';
import { shopifyAuth } from '../..';
import { getFulfillments } from '../common';
export const getFulfillmentsAction = createAction({
auth: shopifyAuth,
name: 'get_fulfillments',
classification: 'SEARCH',
displayName: 'Get Fulfillments',
description: 'Get every fulfillment of an order.',
audience: 'both',
aiMetadata: { description: "List the fulfillments (shipments) recorded for a specific Shopify order, given the order ID. Use to find fulfillment IDs and shipment status, e.g. before posting a Create Fulfillment Event. Read-only and idempotent.", idempotent: true },
props: {
orderId: Property.Number({
displayName: 'Order ID',
description: "From the order's URL in Shopify admin, not its #1001 number.",
required: true,
}),
},
async run({ auth, propsValue }) {
const { orderId } = propsValue;
return await getFulfillments(orderId, auth);
},
});