Skip to main content

Trigger an automation with an HTTP GET request

Automation with HTTP GET trigger

index.ts
import { App, type AppSchema } from '@latechforce/engine';

const schema: AppSchema = {
automations: [
{
id: 1,
name: 'get',
trigger: {
service: 'http',
event: 'get',
params: {
path: 'get',
},
},
actions: [],
},
],
};

await new App().start(schema);

Automation


Run TypeScript code action

Trigger an automation with a cron time

Trigger an automation with an HTTP POST request with request body and respond immediately

Trigger an automation with an HTTP POST request

Trigger an automation with an HTTP POST request and respond immediately

Trigger an automation with an HTTP POST request with request body

Trigger an automation with an HTTP GET request and respond immediately

Trigger an automation when a record is updated

Trigger an automation when a record is created

Respond to an HTTP request with a static body

Respond to an HTTP request

Respond to an HTTP request with a dynamic body

Create record action

Run TypeScript code action with input data

Run TypeScript code action with log

Run TypeScript code action

Run TypeScript code action with externals

Run JavaScript code action with input data

Run JavaScript code action with log

Run JavaScript code action

Run JavaScript code action with externals