Skip to main content
Other Actions Block
Updated over a month ago

The Other Actions Block is a versatile tool that executes specific actions related to products, orders, promo codes, reviews, Unicommerce, Shopflo, and Nector. Each action in this block includes mandatory fields, optional fields (depending on the action), and saved responses that can be utilized in subsequent nodes as variables.

This block operates on a success and failure state model:

  • Success Flow: Runs when the action executes successfully.

  • Failure Flow: Runs when the action fails.


How to Use the Other Actions Block

  1. Navigate to the Journey
    Open the specific journey where the required action needs to be performed.

  2. Select the "Other Actions" Block
    In the action section under Special Actions, choose Other Actions.

  3. Choose the Desired Action
    Select the specific action you want to execute, such as fetching a product, creating an order, or applying a discount.

  4. Configure Mandatory Fields
    Enter all required fields for the chosen action.

    • Example: Provide a Product ID to fetch details of a product, or an Order ID to cancel order.

  5. Set Success and Failure Flows

    • Configure the flow to follow upon successful execution.

    • Set up an alternative flow for failure scenarios.

  6. Save the Flow
    After configuring the block, save the changes to ensure the journey executes as planned.


Actions Overview:

Category

Function

Description

Products

Fetch Product By Id

Retrieves a product by its unique identifier.

Fetch Similar Products For Product

Retrieves similar products for product by its unique identifier.

Fetch Upsells For Product

Retrieves upsells for product by its unique identifier.

Orders

Fetch Order By Id

Retrieves an order by its unique identifier.

Apply Discount On Draft Order

Applies a discount to a draft order.

Mark Order As Paid

Marks an order as paid.

Fetch Orders For Customer

Retrieves all orders for a specific customer.

Cancel Order

Cancels an existing order.

Create Draft Order

Creates a new draft order.

Complete Draft Order

Completes a draft order and creates a new order.

Update Shipping Address For Order

Updates the shipping address for an existing order.

Update Shipping Address For Draft Order

Updates the shipping address for a draft order.

Apply Shipping On Draft Order

Applies shipping charges to a draft order.

Fetch Order By Name

Retrieves an order by its name.

Create Draft Order From Order Id

Creates a new draft order based on an existing order.

Update order tags for draft order

Update order tags for a draft order

Promo codes

Fetch Promocodes

Retrieves a list of all promotional codes.

Create Discount Code

Creates a new discount code.

Create Price Rule

Creates a new price rule.

Review

Create Review

Creates a new review for a product.

Unicommerce

Cancel Sale Order

Cancels a sale order in Unicommerce.

Verify Sale Order

Verifies a sale order in Unicommerce.

Search Sale Order

Searches for sale orders in Unicommerce.

Shopflo

Create ShopFlo Payment Link

Creates a payment link for a draft order using Shopflo.

Nector

Get User

Retrieves a user's information.


FAQs

1) Can I reuse saved responses from this block?

Yes, saved responses can be used as variables in subsequent nodes to streamline the journey.

2) What happens if the action fails?

If the action fails, the configured failure flow will be triggered, allowing alternative actions or error-handling measures.


For further assistance or to raise feature requests related to Other Actions Block, please contact [email protected].

Did this answer your question?