Skip to main content
Question

Extract information from Zapier in a loop

  • April 1, 2020
  • 1 reply
  • 1057 views

BowTieBots wrote:

@arayes Xero can do multiple line item invoice creation but you can not update an existing invoice.

Creating multiple lines works the same as Google Sheets

 

 

@BowTieBots Hi there. I have another query. I am designing an email using HTML code that will send customers an order confirmation summary. I wish to extract information from Zapier in a loop to display product description, quantity and price in the relative places within the email design - each in a seperate line. This is the code I need to loop:

 

START OF LOOP

<tbody>
               <tr>
                      <td>ZAPIER OUTPUT DESCRIPTION</td>
                      <td style="text-align: center;" width="60">ZAPIER OUTPUT QUANTITY</td>
                       <td style="text-align: center;" width="100">ZAPIER OUTPUT PRICE</td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                    <p><br></p>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="esd-structure es-p20r es-p20l" esd-general-paddings-checked="false" align="left">
                    <table width="100%" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <td class="esd-container-frame" width="560" valign="top" align="center">
                                    <table width="100%" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr>
                                                <td class="esd-block-spacer es-p10b" align="center" style="font-size:0">
                                                    <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
                                                        <tbody>
                                                            <tr>
                                                                <td style="border-bottom: 1px solid #efefef; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%; height: 1px; width: 100%; margin: 0px;"></td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="esd-structure es-p5t es-p10b es-p20r es-p20l" esd-general-paddings-checked="false" align="left">
                    <table cellspacing="0" cellpadding="0" width="100%">
                        <tbody>
                            <tr>
                                <td class="esd-container-frame" width="560" align="left">
                                    <table width="100%" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr>
                                                <td class="esd-block-text" align="left">
                                                    <p><br></p>
                                                    <table style="width: 100%;" class="cke_show_border" cellspacing="1" cellpadding="1" border="0">
 

END OF LOOP

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • April 10, 2020

Hi there!

Getting into code steps would be beyond what we’d dive into ourselves, but that might also be possible using some Formatter steps. Can you elaborate on what your overall workflow looks like here? What is the trigger and what’s the action? I’m wondering if there may be different ways to approach this :) Thanks!