Skip to main content
All CollectionsWrk Action LibraryElasticsearch
Create document in Elasticsearch
Create document in Elasticsearch
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Create document in Elasticsearch.

Application

  • Elasticsearch

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected Account

The connected account to use for the request

Connected Account

Yes

Index ID

ID of the index to add the document to

Text (Short)

Yes

Data to send

Whether to insert the input data this node receives in the new row

Predefined Choice List

No

Inputs to ignore

List of input properties to avoid sending, separated by commas. Leave empty to send all properties

Text (Long)

No

Field name 1

Text (Short)

No

Field value 1

Text (Long)

No

Field name 2

Text (Short)

No

Field value 2

Text (Long)

No

Field name 3

Text (Short)

No

Field value 3

Text (Long)

No

Document ID

ID of the document to create and add to the index

Text (Short)

No

Routing

Target this primary shard

Text (Short)

No

Timeout

Period to wait for active shards. Defaults to one minute. See documentation for details. https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units

Text (Short)

No

Pipeline ID

ID of the pipeline to use to preprocess incoming documents

Text (Short)

No

Refresh

If true, Elasticsearch refreshes the affected shards to make this operation visible to search,if wait_for then wait for a refresh to make this operation visible to search,if false do nothing with refreshes

Predefined Choice List

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

JSON Output

JSON output returned by the API

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?