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 { workdayAuth } from '../auth';
import { workdayApi } from '../common/api';
export const findSupplierPaymentAction = createAction({
auth: workdayAuth,
name: 'find_supplier_payment',
classification: 'SEARCH',
displayName: 'Find Supplier Payment',
description: 'Finds supplier payments in Workday using WQL.',
audience: 'both',
aiMetadata: {
description:
'Searches supplier payments via a Workday Query Language (WQL) query against the supplierPayments dataset. Both filters are optional: supply a supplier ID and/or a specific payment ID to narrow results, or omit both to list all supplier payments. Use to look up a payment or enumerate a supplier’s payments. Read-only and idempotent.',
idempotent: true,
},
props: {
supplierId: Property.ShortText({
displayName: 'Supplier ID',
description: 'Filter payments by supplier ID.',
required: false,
}),
paymentId: Property.ShortText({
displayName: 'Payment ID',
description: 'The ID of a specific payment to find.',
required: false,
}),
},
async run({ auth, propsValue }) {
return await workdayApi.findSupplierPayments({
auth,
supplierId: propsValue.supplierId,
paymentId: propsValue.paymentId,
});
},
});