Question

Trigger creates duplicate entry

  • 15 March 2023
  • 4 replies
  • 45 views

I have a website where users can login and create tickets. When they create tickets it has to go to their respective trello account as card. 

For Example: 

User A has a trello account. So when user A is logged in and create a ticket, a card should be created in his Trello account.
User B has a trello account. So when user B is logged in and create a ticket, a card should be created in his Trello account.

I have set up a trigger for this using rest hook from the web ui of zap editor.

In this trigger, I have a subscribe, unsubscribe, perform and performList actions.

subscribe - posted a hook and I have saved it in our database
perform  - Will return array of tickets
performList - Will return array of tickets

I have tested the trigger by creating a zap.

In the zap trigger, I have chosen my account, then tested the trigger and got the tickets.
Then I have created the action, chosen the name and description of the card. Then tested it and a card created in Trello

Then I published the app and got the hook url. 

When I called the url, (via postman) cards are created for all the tickets returned from the perform action. Again I called the url then it duplicated the cards.

Here is the problem I am facing. Why it created the duplicate cards?

Yes perform list and perform actions are having unique id fields and sorted in desc order as mentioned in the doc here https://platform.zapier.com/docs/dedupe

Please see the screen shots of the process
 

 

Perform and PerformList response

 


4 replies

Userlevel 7
Badge +14

Hi @Kiren 

Good question.

Have you reviewed this help article?

https://platform.zapier.com/docs/dedupe

Yes I already went through those docs. Yea api is returning the result as mentioned in the doc.

It has unique id field and sorted desc

Userlevel 7
Badge +14

@Kiren 

You may want to try opening a ticket here: https://developer.zapier.com/contact

@Troy Tessalone 

 

Yea I have opened a ticket.

Reply