Skip to content

Endpoint Tasks ​

Introduction ​

Tasks are the bread and butter of AireGlu Endpoints. There are a number of included Tasks you can use, or you can write your own adapters to create custom tasks.

HTTP Request ​

The HTTP Request task is used to communicate with external services. You can use this to send data to your APIs, or fetch data from other sources.

HTTP Response Handler ​

The Response Handler can only be used when linked to an HTTP Request. This handles what is returned from the request (e.g. the data from your API). You don't have to include this if you don't care about the result of your request, but more often than not the two come as a pair.

AireGlu Endpoint Request ​

The AireGlu Endpoint Request task calls another of your endpoints, without needing to configure a full HTTP Request.

MESH Message ​

The MESH Message task lets you create and send mail via the MESH workflow system.

Email ​

The Email task allows you to send an email. This can be sent from your own email servers, or from AireGlu's default email server.

SMS ​

The SMS task allows you to send text messages using either the MessageBird or GOV.UK notify services

Job ​

The Job task allows an endpoint to be run at a specified time or interval, much like a scheduled task or cron job.

Fax ​

The Fax task allows you to send a message or PDF to a Fax machine. A PDF is required and can be part of your input data.

SFTP ​

The SFTP task lets you securely transfer files to and from remote servers using the SSH File Transfer Protocol.

HTTP Response ​

Lets you specify an HTTP response that the Endpoint should return as its result.

HTTP Redirect ​

Lets you specify a redirection that should occur as the result of the Endpoint. Useful for sending the user to a "Thank you" page for instance.

Mapping ​

The Mapping task is for data transformation. It can be used to reformat the data, or modify it in the pipeline. The output of this can be used in any subsequent tasks.

PDF ​

The PDF task lets you return a PDF document as the result of the Endpoint.

JWT ​

The JWT task allows you to generate a JWT with customisable headers & payload, with a choice of encryption and/or signing algorithms.

Audit ​

The Audit task generates logs and sends them to AireAudit. To view these logs you can navigate to AireAudit. Here you’ll be prompted to sign in, and once logged in, you’ll see a list of audit logs which you can apply filters on.

Configuring tasks ​

Most task settings can use values from the endpoint input, earlier task results, variables, secrets and built-in functions. See Working with Data for how to use the Context Data panel, the task preview and filters.