Topics and lessons

Making business critical connections (queues)

When using interfaces to other systems, it's a good idea to keep record of the outbound traffic. If you do, you can resend the data if something ‘across the border’ went wrong.

It is also very convenient for testing: you can send the same data time after time until you are happy with the results.

In this example we use Zapier for sending an email to a teacher when a student has completed a question of an online questionnaire.

In this lesson:

  1. How it works
  2. Create the data item
  3. Modify the user flow where the student answers the question
  4. Create the user flow Answered questions log for Zapier

How it works

Our case is a student who answers questions online.

  1. The student completes a question.
  2. After completion of the question, the user flow creates a log with the data for Zapier.
  3. After that, the user flow updates Sent to Zapier in the log with the current date and time.
  4. Zapier reacts to the update by sending an email.

The reason why you don’t want Zapier to react on the Create, is that if something went wrong in the process, you might want to send the data to Zapier again.

You achieve this by updating the Sent to Zapier property. This is also handy for testing: by updating Sent to Zapier in the data items you want to send, you trigger Zapier.

Step 1: create the data item

Create the data item Answered questions log for Zapier.

Be aware that you don’t use references to other data items: Zapier cannot process references. Therefore you have to store the actual values of the data into the log.

Bonus: this guarantees that the log data will not change when references change afterwards.

Data item for Zapier. Triggre no-code web app builder.

Step 2: modify the user flow where the student answers the question

  1. Insert Create Answered question log for Zapier after Update My question. Fill all properties except Sent to Zapier,
  2. Insert Update Answered question log for Zapier after that. Store the current date and time in Sent to Zapier.
  3. This will trigger Zapier.
Zapier user flow. Triggre no-code web app builder.

The flow part that creates a Sent to Zapier

This flow part is called by the automation flow New answered question for Zapier.

Step 3: create the user flow Answered questions log for Zapier

  1. Using the wizard, create a user flow for managing the log.
  2. Insert the button Trigger Zapier.
  3. The button applies to the selected item in the table and updates Sent to Zapier to the current date and time.
  4. This will trigger Zapier.
Tip: If you insert a button that calls a flow part that updates all log items at once, you can resend all items in one action.
Answered questions Zapier log. Triggre no-code web app builder.

The log:

Zapier log. Triggre no-code web app builder.

The re-send email:

Sent email. Triggre no-code web app builder.