How to Create Multiple WordPress Posts from Iterator Output (Only One Post Created)

I’m trying to create multiple WordPress posts from the output of an Iterator module, but only one post is ever created, even though the Iterator clearly outputs multiple bundles. (I’ll attached screenshots).

Here’s my setup:

  • I receive an array of line items from an OCR tool (Mindee).
  • The array is passed to an Iterator, which correctly outputs 5 bundles (verified in execution history).
  • The Iterator is connected to a WordPress > Create a Post module.
  • Each post should be created from one line item.
  • However, only the first bundle creates a post, none of the others are processed.
  • I’ve already tried:
    • Replacing the WordPress module and connecting directly from the Iterator
    • Ensuring the “Map” toggle is enabled for mapped fields (title, content, etc.)
    • Running the scenario manually with breakdown per operation
    • Verified that no filters or errors are blocking execution
    • Using default settings (status = publish, type = line_item, etc.)

Is there something I’m missing in how the Iterator triggers downstream modules for each bundle?

Thanks in advance!


It’s probably because there’s just one item in the array. Did you confirm that the array had more than one item?

Thanks. And yes - the array has more than one item. For this specific example, there are 5 yet I’m still only getting one WordPress post.

Can you send the blueprint?

Submit invoice.blueprint.json (30.7 KB)

Let me know if this helps - I appreciate any insight!

I think I found the error. You selected map and then assigned line_items to it (or the iterator did) to the WordPress type option, then unchecked it, but that option doesn’t exist in WordPress. Click there and select Post to create a post.

image

Thanks for looking into it. I should’ve clarified in my original post that my Wordpress site has a custom post type called “Line Items”, which is where that comes from. However, I did change it to “Post” just to test if a post would work but I still face the same issue