Gravity Form Zapier Look on gform_entry_list_action

Hi, I’m trying to loop through the ‘add to star actions’ and send it to Zapier.

However, only the first array is getting sent to Zapier, even when I check multiple entries and do the add to star action. In specific, the first array gets sent multiple times.

Below is my code.

add_action( 'gform_entry_list_action', 'perform_actions', 5, 3 );

function perform_actions( $action, $entries, $form_id ){

  if ( $action == 'add_star' )
		{
	  $entrynumbers=count($entries);
            $i=-1;	  
	  $form = GFAPI::get_form($form_id);
	  foreach($entries as $entrylists=>$entry_id){
		 $i++;
		  $dd[]=GFAPI::get_entry($entries[$i]);
	  }
		unset($i);	
	  foreach($dd as $ddlist=>$ddentries){
	 	GFZapier::send_form_data_to_zapier($ddentries, $form);	
	  }	  
	 }
}

I’m on this the whole day, but can’t find a solution.

Seeking for help. Thank you:)