TEST : Attempt to send an email and fail, but delete the created ConfiForms record

This demo illustrates how to use ConfiForms "onError" event and ConfiForms IFTTT

Attempts to send an email, fails, but deletes the entry

<ac:structured-macro ac:macro-id="555a881c-587f-4892-b5a4-30eb2074af69" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">sendMail</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="496916c4-7fd0-4d65-85a5-474bfd3667b6" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="89ff4ef7-0966-43d9-9f12-e249bb868426" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">t</ac:parameter>
        <ac:parameter ac:name="fieldLabel">t</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="4038727f-bd3f-4ffc-bb0e-8cdc1bc6ed87" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="action">Send Email</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">This will fail, as recipient parameter is left intentionally empty</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="1dbc0f13-23f0-49b9-a093-d96133161b34" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="action">Delete ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onError</ac:parameter>
      <ac:parameter ac:name="title">id:[entry.id]</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>