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. Integrate Tolstoy with Zapier.

  2. Begin setting up the Zap Trigger from Tolstoy:

  3. Add a new Action and select Format.

  4. Choose Utilities.

  5. 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:

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


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

  8. 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];


  9. 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 support@gotolstoy.com if you have any more questions.

*based on this article by Zapier.


Did this answer your question?