Function executeIntegration
- executeIntegration(data: {
body?: null | string;
headers?: null | Record<string, string>;
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
integrationName: string;
timeoutSeconds?: null | number;
url: string;
}): Promise<Response>
-
Parameters
-
data: {
body?: null | string;
headers?: null | Record<string, string>;
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
integrationName: string;
timeoutSeconds?: null | number;
url: string;
}
-
Optional body?: null | string
-
Optional headers?: null | Record<string, string>
-
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"
-
integrationName: string
-
Optional timeoutSeconds?: null | number
-
url: string
Returns Promise<Response>
Runs the given integration and returns the response.
Integrations have to be set up in the company settings on the Combeenation platform.