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 {
type HttpResponse,
type HttpRequest,
httpClient
} from '@activepieces/pieces-common';
export const callSevenApi = async <T>(
httpRequest: Omit<HttpRequest, 'url'>,
path: string,
apiKey: string
): Promise<HttpResponse<T>> => {
return await httpClient.sendRequest<T>({
...httpRequest,
headers: {
...httpRequest.headers,
Accept: 'application/json',
'Content-Type': 'application/json',
SentWith: 'Activepieces',
'X-Api-Key': apiKey
},
url: `https://gateway.seven.io/api/${path}`
});
};