Trigger service
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Trigger service
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Triggers a backend service defined in AppGyver Cloud. Backend services are a paid feature.
The node will make an HTTP call to AppGyver's backend to trigger the given service.
If the service executes successfully, the first output is triggered with a Response object.
If the execution is unsuccessful, the second output is triggered with an error object.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
Service | serviceId |
Service | Yes | – | Service to trigger. |
Payload | payload |
Object | Yes | – | Payload to send to the service. |
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Response | response |
Object | JSON response from the service. |
Status | status |
Number | HTTP status code from the service. Always 200 if successful. |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Unknown error | unknown |
Thrown if an unknown error occurred while running the service. |
Was this article helpful?