INSERT

Command

rhub add:action <group.eventId> <filterId> POSTGRESQL INSERT

Param

Description

eventId

The event that will receive te action.

Example: payment.payment-fulfilled

filterId

The filter/trigger in the event that will process the action.

Example: on-event

Prompt Questions

Question

Description

Database Name

The database name in the service account.

Table Name

The table name of the informed database.

INSERT
INSERT

YAML

-
id: my-sqs-publish-action
async: false
type: MYSQL
action: INSERT
serviceAccountId: my-mysql-account-id
database: my-database
table: my-table
payload:
keyName: '{keyName}'

YAML PARAMS

Params

Description

id, async, type, action, operation, serviceAccountId

The action default parameters, see more.

database

The database name of the service account.

table

The table name of the informed database.

payload

Key / Value object:

Key = The table column name

Value = The value to insert into the column