Skip to content
VTEX

How to use VTEX

CommerceCost: 1 credit per runTechnical reference

What it is for

Unified commerce platform

VTEX has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to VTEX and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a VTEX step, click "Connect" and paste it into: Host Url, App Key, App Token.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
Host UrlTextYes
App KeySecret keyYes
App TokenSecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Get Product By ID: fill in Product ID; use the data selector to map values from earlier steps.
  • Create New Product: fill in Name, Title, Description, Brand ID, Category ID; use the data selector to map values from earlier steps.
  • Update a Product: fill in Product ID, Name, Title, Description, Brand ID, Category ID, DepartmentId; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Actions (17)

Operations available as flow steps. Expand each one to see its fields.

Get Product By ID1 fields
FieldTypeRequired
Product IDNumberYes
Create New Product17 fields
FieldTypeRequired
NameTextYes
TitleTextYes
DescriptionTextYes
Brand IDNumberYes
Category IDNumberYes
Link IDTextNo
Ref IDTextNo
Product IDNumberNo
Is VisibleYes / NoNo
Short DescriptionTextNo
Release DateTextNo
Key WordsTextNo
Is ActiveYes / NoNo
Tax CodeTextNo
Metatag descriptionTextNo
Show Without StockYes / NoNo
ScoreNumberNo
Update a Product19 fields
FieldTypeRequired
Product IDNumberYes
NameTextYes
TitleTextYes
DescriptionTextYes
Brand IDNumberYes
Category IDNumberYes
DepartmentIdNumberYes
Link IDTextNo
Ref IDTextNo
Brand NameTextNo
Is VisibleYes / NoNo
Short DescriptionTextNo
Release DateTextNo
Key WordsTextNo
Is ActiveYes / NoNo
Tax CodeTextNo
Metatag descriptionTextNo
Show Without StockYes / NoNo
ScoreNumberNo
Get Brand List0 fields

No fields to configure.

Get Brand By ID1 fields
FieldTypeRequired
Brand IDNumberYes
Create new Brand9 fields
FieldTypeRequired
NameTextYes
Site TitleTextNo
Link IDTextNo
Brand IDNumberNo
TextTextNo
Menu HomeYes / NoNo
KeywordsTextNo
ActiveYes / NoNo
ScoreNumberNo
Update Brand9 fields
FieldTypeRequired
Brand IDNumberYes
NameTextYes
Site TitleTextYes
Link IDTextYes
TextTextYes
Menu HomeYes / NoYes
KeywordsTextYes
ActiveYes / NoYes
ScoreNumberYes
Delete Brand1 fields
FieldTypeRequired
Brand IDNumberYes
Get Category1 fields
FieldTypeRequired
Category IDNumberNo
Get SKU By Product ID1 fields
FieldTypeRequired
Product IDNumberYes
Create New Sku9 fields
FieldTypeRequired
Product IDNumberYes
SKU NameTextYes
Package HeightNumberYes
Package LengthNumberYes
Package WidthNumberYes
Package Weight (Kg)NumberYes
Is ActiveYes / NoNo
Is KitYes / NoNo
Sku IDNumberNo
Create New Sku File6 fields
FieldTypeRequired
Sku IDNumberYes
Image UrlTextYes
Image NameTextYes
Is Main ImageYes / NoYes
Image LabelTextNo
Image NameTextNo
Get Client List0 fields

No fields to configure.

Get Client By ID1 fields
FieldTypeRequired
Client IDNumberYes
Get Order By ID1 fields
FieldTypeRequired
Order IDNumberYes
Get Orders List6 fields
FieldTypeRequired
From (Year)NumberYes
To (Year)TextYes
From (Month)TextNo
To (Month)TextNo
From (Day)TextNo
To (Day)TextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps