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 { HttpMethod, httpClient } from '@activepieces/pieces-common';
import { wedofAuth } from '../../auth';
import { createAction, Property } from '@activepieces/pieces-framework';
import { wedofCommon } from '../../common/wedof';
export const getCertificationFolder = createAction({
auth: wedofAuth,
name: 'getCertificationFolder',
classification: 'READ',
displayName: 'Récupérer un dossier de certification',
description:
'Récupérer un dossier de certification à partir de son n° de dossier',
audience: 'both',
aiMetadata: {
description:
"Retrieve a single Wedof certification folder by its externalId. Pick this when you already know the folder number and need its full details; use search-certification-folder to find folders by criteria. Read-only and idempotent.",
idempotent: true,
},
props: {
externalId: Property.ShortText({
displayName: 'N° du dossier de certification',
description:
'Sélectionner la propriété {externalId} du dossier de certification',
required: true,
}),
},
async run(context) {
return (
await httpClient.sendRequest({
method: HttpMethod.GET,
url:
wedofCommon.baseUrl +
'/certificationFolders/' +
context.propsValue.externalId,
headers: {
'Content-Type': 'application/json',
'X-Api-Key': context.auth.secret_text,
},
})
).body;
},
});