All Collections
Integration Add-Ons
How can I extract custom fields from Tolstoy with Zapier?
How can I extract custom fields from Tolstoy with Zapier?
Nimrod Popper avatar
Written by Nimrod Popper
Updated over a week ago

If you are using the Tolstoy X Zapier integration, there are certain fields that you may want to extract that are not available using the regular zap settings. Follow this guide below to learn how to extract custom fields using advanced configuration.

*Requires a Premium Zapier account.

  1. Begin setting up the Zap Trigger from Tolstoy:

  2. Add a new Action and select Format.

  3. Choose Utilities.

  4. Under Set up action, select Line-item to Text.

    Make sure you gave names to all your Tolstoy parts!

    In the Input, open the drop down menu. First select "Events Question", then "-", then "Events Event Name", then "***", and then add the "Events Text".

    In the Separator field write "|||", and click Test and Continue, like so:

  5. Close the section and add a new action. Search for the Code by Zapier app.

  6. In the Input Data, type text, and then select the Output Text from the Utilities.

  7. In the code section type the following code:

    const text = inputData.text.split('|||'); 
    let obj = {};
    text.forEach((element) => {
    const [name, value] = element.split('***');
    obj[name] = value;
    output = [obj];

  8. Click Continue and Test and Continue. Now you will have the part name, the event name and the text value that was entered.

    You can easily choose the desired value and match it to the wanted field in Zapier!

Do not hesitate to contact us at if you have any more questions.

*based on this article by Zapier.

Did this answer your question?