Best answer

How to make the image different each time for each new Twitter follower?


Hello,

I try to change my twitter profile picture for each new follower.

So I created the following zap 

New followers -> change profile picture -> change profile picture -> change profile picture 

I put several times change profile picture hoping that the picture is different each time.

But unfortunately there is only the first picture that works.

I wonder how to make the image different each time for each new follower 

I would like to put 5 images like I tried above
 

icon

Best answer by Troy Tessalone 4 April 2022, 16:59

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

16 replies

Userlevel 7
Badge +14

Hi @luzz 

Good question.

Can you please post screenshots with how your Zap steps are configured for us to have more context?

Hi @luzz 

Good question.

Can you please post screenshots with how your Zap steps are configured for us to have more context?

Here is a screen of my zap :)

Userlevel 7
Badge +14

@luzz 

For steps 2-5, are those step each for a different Twitter account?

Otherwise, what is the purpose of running the same action multiple times?

@luzz

For steps 2-5, are those step each for a different Twitter account?

Otherwise, what is the purpose of running the same action multiple times?

No it's my twitter account 

I put the same action several times to put different image and make a loop 

in the action 2 to 5 there are 4 different images 

Userlevel 7
Badge +14

@luzz 

Seems like either Steps 3-5 or Steps 2-4 are redundant.

With the way your Zap step is configured it will run thru each Zap step, thus changing the Twitter Profile images 4 times, with the last Zap step setting the Twitter Profile images.

 

@luzz

Seems like either Steps 3-5 or Steps 2-4 are redundant.

With the way your Zap step is configured it will run thru each Zap step, thus changing the Twitter Profile images 4 times, with the last Zap step setting the Twitter Profile images.

 

In fact the goal is to change the profile picture at each subscription with a different image.

I thought that putting "change profile picture" 4 times with different images would work.

But it doesn't really work.

Do you have any idea how I can do it or how you would do it?

 

Or rather, once step 5 is over, how to make him understand that he has to go back to step 2 

Userlevel 7
Badge +14

@luzz

You’ll need to add logic such that each time there is a Twitter New Follower, that it logs the activity and looks up the next image to set as the Twitter Profile Image.

Storage can be used to log and increment: https://zapier.com/apps/storage/integrations

 

For example, if there are 4 images you want to rotate...

  1. First time the Zap runs it will use Image 1
  2. Second time the Zap runs it will use Image 2
  3. Third time the Zap runs it will use Image 3
  4. Fourth time the Zap runs it will use Image 4
  5. Fifth time the Zap runs it will use Image 1
  6. and so on…

 

Try these Zap steps:

  1. Trigger: Twitter - New Follower
  2. Action: Storage - Increment Value
  3. Action: Formatter > Numbers > Spreadsheet Style Formula
    1. MOD (dividend, divisor): Returns the remainder from a division between 2 numbers
      1. Value from Step 2 / # of Images set in Step 4
  4. Action: Formatter > Utilities > Lookup Table
  5. Action: Twitter - Update Profile Image
    1. Map Image from Step 4

@luzz

You’ll need to add logic such that each time there is a Twitter New Follower, that it logs the activity and looks up the next image to set as the Twitter Profile Image.

Storage can be used to log and increment: https://zapier.com/apps/storage/integrations

 

For example, if there are 4 images you want to rotate...

  1. First time the Zap runs it will use Image 1
  2. Second time the Zap runs it will use Image 2
  3. Third time the Zap runs it will use Image 3
  4. Fourth time the Zap runs it will use Image 4
  5. Fifth time the Zap runs it will use Image 1
  6. and so on…

 

Try these Zap steps:

  1. Trigger: Twitter - New Follower
  2. Action: Storage - Increment Value
  3. Action: Formatter > Numbers > Spreadsheet Style Formula
    1. MOD (dividend, divisor): Returns the remainder from a division between 2 numbers
      1. Value from Step 2 / # of Images set in Step 4
  4. Action: Formatter > Utilities > Lookup Table
  5. Action: Twitter - Update Profile Image
    1. Map Image from Step 4

Thank you for your help, I am a beginner in automation so I will try to understand your zap and apply it 

@luzz

 

I have trouble understanding:

For this action ( Action: Storage - Increment Value )

What is the value to enter, the number of images ?
-------------------------------------------------------------------
Action: Formatter > Numbers > Spreadsheet Style Formula
MOD (dividend, divisor): Returns the remainder from a division between 2 numbers

and here if I understood correctly I have to put MOD ( value of action 2, number of image ) ?

and then where should I put the 4 url of my images 

sorry if my question seems stupid 

 

Userlevel 7
Badge +14

@luzz 

For this action ( Action: Storage - Increment Value )

What is the value to enter, the number of images ?

+1 for each Zap run

 

Action: Formatter > Numbers > Spreadsheet Style Formula
MOD (dividend, divisor): Returns the remainder from a division between 2 numbers

and here if I understood correctly I have to put MOD ( value of action 2, number of image ) ?

Yes.

 

and then where should I put the 4 url of my images 

Configure in step 4

@luzz

 

As you said for step 4 I have configured the images.

But in step 5 it doesn't detect any data in (change profile image) 

 

Userlevel 7
Badge +14

@luzz 

For Step 4…

The Lookup Key should come from Step 3

 

The left side values should be 0,1,2,3

 

@luzz

 

 

Thank you for your help! 

I think I have configured everything correctly, there are no more errors, only the image changes when I test the zap manually and not when I follow my account twitter

If you want to have a look here is the link of the zap 

 

https://zapier.com/shared/94f2e709d47ed1e391b9aff6babbabc1ccf61279

 

Userlevel 7
Badge +14

@luzz 

Likely depends on your Zapier plan, so be sure to check your Zap Runs: https://zapier.com/app/history/

Trigger types

There are 2 types of triggers:

  1. Polling trigger: the majority of triggers are polling triggers. With a polling trigger, Zapier will check for new data from your trigger every 1 to 15 minutes in order to start your Zap, depending on your pricing plan.
  2. Instant trigger: with an instant trigger, your trigger app will send Zapier an instant notification whenever there's new data. Zaps with instant triggers are labeled Instant on your dashboard and in the Zap editor.

 

@luzz

Likely depends on your Zapier plan, so be sure to check your Zap Runs: https://zapier.com/app/history/

Trigger types

There are 2 types of triggers:

  1. Polling trigger: the majority of triggers are polling triggers. With a polling trigger, Zapier will check for new data from your trigger every 1 to 15 minutes in order to start your Zap, depending on your pricing plan.
  2. Instant trigger: with an instant trigger, your trigger app will send Zapier an instant notification whenever there's new data. Zaps with instant triggers are labeled Instant on your dashboard and in the Zap editor.

 

I just checked and in fact even if there is a small time between the update of the profile image, the zap can only recover one image and always puts the same 

Userlevel 7
Badge +14

@luzz

Can you please post detailed screenshots with how each of your Zap steps are configured now?