When you get a list of data returned from an action ("an array") you can use the "Write Lists to Other Table" action to send the list to a new table to see each record in its own row. There are two type of lists, (1) 1 field per item, (2) multiple fields per item.



Here are guides to use both ⚡️:

Write to Table Action (1 field per item)

  1. Check how many fields in each item contains. This case arises when an action returns a list with one field per item, like the one shown on the right (returned from the Enrich Company action)

    Note how in the allTechnologiesBySlug list, each item contains only one field (e.g. field 0: google-app-engine, field 1: google-font-api).

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1484e1d6-ba6e-40b5-a697-edd30932b01b/Untitled.png

  1. Select the Write to Table Action (1 field per item) action. Once you've established whether there are multiple fields per item or just one, select the relevant action.

  2. Set up your inputs. Let's define action inputs together and see how they work.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7d83801e-fbb5-4328-a47e-f974f47a52e9/Untitled.png

  1. Run your action! The action will return a success statement as shown below. If you navigate to your Target Table, you'll see the exported list in your selected "Target Column".

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/76387d0e-25c7-4719-b4da-74d7ea0e75ae/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/de0078a0-a5a4-44fc-8a6b-0dc720ca1759/Untitled.png

Write to Table Action (Multiple fields per item)

This case is far more common in our action outputs and occurs when you have a list returned containing multiple fields per item, like the one shown below for the Find Keywords in Website action.

  1. Check how many fields in each item contains. Note how in the results list, each item contains more than one field (position, title, link, snippet, etc.) Because of this, we will use the Write to Table Action (Multiple fields per item) to export this list.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0c08adfa-a586-41a1-955c-0189af6204de/Untitled.png

  1. Select the Write to Table Action (multiple fields per item) action. Once you've established whether there are multiple fields per item or just one, select the relevant action.