Docs Connect Components Processors insert_part insert_part Available in: Cloud, Self-Managed Insert a new message into a batch at an index. If the specified index is greater than the length of the existing batch it will be appended to the end. # Config fields, showing default values label: "" insert_part: index: -1 content: "" The index can be negative, and if so the message will be inserted from the end counting backwards starting from -1. E.g. if index = -1 then the new message will become the last of the batch, if index = -2 then the new message will be inserted before the last message, and so on. If the negative index is greater than the length of the existing batch it will be inserted at the beginning. The new message will have metadata copied from the first pre-existing message of the batch. This processor will interpolate functions within the 'content' field, you can find a list of functions here. Fields index The index within the batch to insert the message at. Type: int Default: -1 content The content of the message being inserted. This field supports interpolation functions. Type: string Default: "" Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution http javascript