Explode Brick
Purpose | Learn about the various configurations and parameters required for the Form Brick to function correctly. |
---|
Last updated | August 05, 2024 |
---|
What is the Explode Brick?
The Explode Brick processes each item from an array of messages by converting them into individual events. This means that for every message in the array, the Explode Brick generates a corresponding event. This functionality allows the program to handle each event sequentially, ensuring efficient processing of multiple events.
Explode Brick configuration supporting video
Explode Brick Parameters
-
Label: Enables the user to assign a name to the brick.
-
Path: Defines the input source to be exploded.
- Examples:
- Use
%form
for form inputs. - Use
%python
for inputs from a Python brick. - For sub-sections, such as 'location' from a Python brick, use
%python.location
.
- Use
- Examples:
For more information on VRL syntax follow link below:
Explode Brick output variables
In this section of the documentation the user will learn where are the outputs of the brick stored and its format.
The output variables may vary depending on the information that is being exploded, here are some examples:
-
Name of variable:
explode
- Format:
uuid
(String): Represents a unique identifier.size
(Integer): Indicates the size.index
(Integer): Specifies the index.item
(Object): Contains details about an item.
- Format:
-
Name of variable:
python
- Format:
from
(String): The sender's email address.to
(List): List of recipient email addresses.subject
(String): The subject of the email.message_id
(String): The unique message identifier.content-type
(String): The content type of the email.headers
(List): List of email headers.parts
(List): List of parts of the email.html_body
(String): The HTML body content of the email.
- Format: