Linkedin Invitations – Pain in the A$$

At some point in the recent past you opened your email address book to LinkedIn for the purpose of sending out invitations and you clicked to proceed with the operation before you fully read and understood what was about to happen.

In opening your email address book to LinkedIn without fully reading the instructions you explicitly allowed LinkedIn to send an invitation to *every* email address stored in your email address book.

LinkedIn not only sent an invitation to each of the email addresses in your email address book but also LinkedIn will send out two (2) invitation reminders to each email address in your email address book.

The *only* way you can stop the invitation reminders from going out is by going to your LinkedIn “Inbox/Invitations/Sent” folder where you must open each pending invitation and click on the “Withdraw” option. This must be done for each pending invitation on a one-by-one basis.


If you have already “deleted” the “pending” invitations, you must first go to your LinkedIn “Inbox/Trash” folder and “undelete” all of the “pending” invitations to put them back into the “Inbox/Invitations/Sent” folder before you can use the “withdraw” feature.

There two (2) very important reasons why you should start the process now as follows:

1. LinkedIn affords each LinkedIn member with only 3,000 invitations, which are supposed to last the member a lifetime. The “Withdraw” process will stop the automatic reminders from going out to recipients, which should relieve some of the embarrassment associated with sending out the invitations.

2. The recipients of those errant invitations have the opportunity to click on either the “I Don’t Know” or spam option when the invitation lands in their inbox. Getting just five (5) “I Don’t Know” or spam responses will put your account on restriction, which means you will not be able to send out any invitation without entering the email address of the recipient. You can, of course, appeal to have the restriction lifted by sending a sincere message to LinkedIn Customer Service explaining that you did not know what you were doing and that you will *never* again send out an invitation to someone you don’t know.

There is no official Linkedin way to withdraw sent invitation en masse, which I think is poor customer service and clearly a way to market Linked not to mention SPAM.

There is a way to automate the withdrawal of sent invitation

Withdrawing sent invitations automatically on Linkedin

Last week I fell into a Linkedin trap. I invited all my Gmail contacts to connect with me. About two thousand invitations sent by a single click I even noticed.

When I noticed what was happening – the dozens of emails from new connections coming in a very short period of time – I started looking for alternatives to cancel the invitations at once. I soon realized that LinkedIn does not offer the option for undo this bulk operation. The only way to cancel those sent invitations was opening the invitations one by one and clicking “Withdraw” one by one.

So I wrote a small JavaScript code to do the job for me.

How the code works?

In a simplistic way, what it does is from the screen of sent invitations on Linkedin, it opens all the sent invitations one by one and withdraw or archive the invitation depending on the availability.

Running the code

Please note that I do not offer any guarantees about the possibility of this script cause any damage to your Linkeidn account. Run it on your own responsibility.

  1. Access the page of sent invitations sent on Linkedin
  2. Paste the entire JavaScript code below in your browser’s JavaScript console. I strongly recommend Google Chrome because of its better memory management.
 * Withdraw all not yet accepted invitations on Linkedin. What is specially nice
 * if you accidentally invited all your contacts from another sources.
 * @usage
 * 1) Enter in
 * 2) Paste this code on Chrome's JavaScript console
 * 3) Execute LW.init();
 * 4) Wait :P
 * @author <a href="">Bruno Souza</a>
 * Contribute on ;)
var LW = (function(){

        // last windows processed
        __LAST_FATHER_WINDOW = window
        // number of runs (initializations)
        , __RUNS = 0
        // maximum number of list pages opened sequentialy
        , __SAFE_LIMIT = 2
        , __USED_LIMIT = 0
        // processes invitation page
        , _proccessInvitation = function($win) {
            var $windowElements = $win.document.querySelectorAll('.btn-quaternary')
                , wElementsLength = $windowElements.length
                , j
                , archiveIndex
                , canWithdraw = false;

            for (j = 0; j < wElementsLength; j++) {
                if ($windowElements[j].text == "Withdraw") {
                    canWithdraw = true;
                } else if ($windowElements[j].text == "Archive"){
                    archiveIndex = j;

            if (!canWithdraw) {
                console.log('WITHDRAW UNAVAILABLE, ARCHIVING!');
            } else {
                console.log('WITHDRAW AVAILABLE, WITHDRAWING!');

            setTimeout(function() {
            }, 20000);
        // initialize invitation lists page handling
        _initList = function($fatherWin) {
            var $elements = $fatherWin.document.querySelectorAll('.detail-link')
                , eLength = $elements.length
                , i;
            for (i = 0; i < eLength; i++) {
                (function() {
                    var $win =$elements[i].href, "_blank", "width=600,height=600,menubar=yes,toolbar=yes");
                    $win.LW = LW;
                    $win.addEventListener('load', function() {
                    }, false);
        // initialize
        _init = function() {


            var $win =""+(__RUNS*16)+"&subFilter=&keywords=&sortBy=", "_blank", "width=600,height=600,menubar=no,toolbar=no");
            $win.LW = LW;
            $win.addEventListener('load', function() {
            }, false);

            __LAST_FATHER_WINDOW = $win;

    return {
        // initialize
        init: function() {
            if (__USED_LIMIT > __SAFE_LIMIT) {
                setTimeout(function() {
                    __USED_LIMIT = 1;
                }, 90000);
            } else {
  • Run the command LW.init(); in your browser JavaScript console. Again, I recommend Google Chrome because of its better memory management.

Now we just wait. 🙂

I hope it has been helpful to you as it was for me. If you have any questions, feel free to comment below.

Below is a post on everything you need about LinkedIn invitations

LinkedIn Invitations: Everything You Need to Know (and Then Some!)

1) What’s the best way to invite someone to connect?

I always tell people to never send an invitation unless you’re fairly certain it will be accepted. A best practice is reach out to that person elsewhere first (email, phone, real life conversations, Twitter, Facebook, Google+, LinkedIn messages, InMail, group discussions, status updates, etc.) and start a conversation. If they seem amenable, go ahead and invite them (customizing the invite to remind them how you know each other and why you’d like to connect).

By: TraderGroup Signal

Never send the default invitation verbiage since it does turn off some people. And definitely don’t bulk-invite everyone in your email contacts list. There’s no way to personalize the message and it could lead to some invites that you probably didn’t intend to send (your ex-spouse, grandma, doctor, mechanic, that employee you fired, people who might not know you or remember you and/or people who aren’t even on LinkedIn – but will now get marketing emails to join LinkedIn… something they may not appreciate at the end of the day).

2. How many invitations can I send?

You are allotted 3000 invites to send out and you can send out as many as you want per day, but you will be required to enter a Captcha for each invite over 100 sent in a 24-hour period.

3. How can I prevent accidentally inviting the same person more than once?

If you’ve already invited that person, you will no longer see the regular “Invite John to Connect” screen with the gray box and the radio button list. You will instead see a similar screen with only one option – to invite that person by plugging in their email address. This screen tells you that you’ve already invited this person in the past.

4. Can I withdraw an invitation once I’ve sent it out?

Yes, simply go to Inbox > Sent > Sent Invitations tab to see all of your sent invitations. Click on any invite you want to withdraw to open the message then click the “Withdraw” button. The person will not be notified that you’ve withdrawn the invitation. (If you want to find a specific invite to withdraw, go to the search box in the top right corner of any screen, choose Inbox from the dropdown menu, plug in the name of the person you wish to un-invite and it will pull up that specific invite in the search results).

5. If I withdraw an invite, is it credited back to my account?

Nope, I’m afraid not. Once you’ve sent an invite, it counts toward your 3000 invitation limit whether you withdraw the invitation or not.

6. What do I do if I run out of invitations?

Simply email LinkedIn Customer Service and ask for more invites. As long as you haven’t been labeled a spammer by getting too many declines, they will typically grant you another 500 – 1000 invites (per month) to send out. If you use them all up, you will need to wait until that month is up before asking for more.

By: Shekhar_Sahu

7. Why would I ever want to withdraw an invitation?

I recommend withdrawing an invite if it hasn’t been accepted in the past week or so. It means that either a) the person doesn’t remember you, b) they don’t want to connect with you for some reason or c) they aren’t very active on LinkedIn (and may not remember you by the time they do log back in… which greatly increases the chance that you’ll get declined).

8. What happens when someone clicks “I don’t know John?”

Many people don’t realize this, but this type of decline is EXACTLY the same as getting marked as Spam. IDK (I Don’t Know) and Spam are identical in LinkedIn’s eyes and if you receive approximately 5-7 of these declines (either type, in any combination), then LinkedIn will place a restriction on your account, requiring you to enter an email address for all future invites.

9. Why is LinkedIn requiring me to enter an email address to invite people?

It means you’ve received too many declined invitations and LinkedIn has placed a restriction on your account. (See #8 above.)

10. How can I remove a restriction on my account?

It’s not uncommon for newbies to get overzealous with their invitations and get restricted, so LinkedIn has actually created a way for you first-timers to remove your own restriction. Simply go to this page, check the “I agree” box and click “OK.” Shazam! You’re now unrestricted and back in action. (Just be more careful going forward!) Not your first restriction? You’ll need to reach out to Customer Service and promise to be more careful with your future invites.

11. How can I tell if someone’s marked my invite as IDK / spam?

Here’s a little ditty that I discovered a while back but this is the first time I’ve shared it with anyone else! :)  When you click on a sent invite (see #4 above), if the “Resend” box is missing, that means the person has archived your invitation (which does not penalize you in any way aside from taking up one of your 3000 allotted invites). If both the “Withdraw” AND “Resend” buttons are missing, it means that the person has marked your invitation as Spam or IDK. (Note – it could also mean that you’ve already withdrawn the invite or they’ve already accepted it, so always delete a withdrawn invitation for record-keeping purposes and/or check to make sure they’re not already a 1st level connection. You can’t reinvite someone who’s already connected to you!)

12. How can I prevent account restrictions in the future?

Stick to those best practices outlined in #1 above. Only send an invite that you’re fairly certain will be accepted. Never roll the dice with an invite. Start the conversation elsewhere and only THEN send an invite to connect. Customize the invite, be clear how you know each other and let them know why you’re interested in connecting. These best practices will greatly increase your acceptance rate!

Even better? Create a one-click invitation link that takes people directly to your invitation page on your LinkedIn profile. Feature this link anywhere that prospective connections might read it (your email signature, blog, website, Twitter bio, Facebook page, company website, page, etc.). The best part? A one-click invite reaches a wide audience, puts the ball in the other person’s court to invite you (rather than putting them on the spot with an invite), doesn’t use up any of your 3000 invites (since the other person is inviting YOU) and there’s no risk of you getting declined as Spam or IDK (since you’re the one doing the accepting, not the inviting). Cool, huh? (Feel free to comment below with YOUR one-click invite link… you just might get an invitation!)


This entry was posted in Computers and Internet, Humour, Techie Hobbies. Bookmark the permalink.

4 Responses to Linkedin Invitations – Pain in the A$$

  1. Hellyn says:

    This is code is not yours,,,,you should mention the real author : Bruno SOUZA

  2. sri says:

    Guys, This is so damn annoying… and I was equally pissed offf…. Instead of the above method of individually going to every item, I found a semi-automatic way simpler way of WITHDRAWING INVITES. instead of relying on script. Just go to Sent items…. in that below the name u will see an the text “Join my network on LinkedIn”…. take ur cursor on top of this text & right click & press ‘T’ in the keyboard which opens it in a new tab. Do this for all the invites in the sent folder. Then use Alt+Tab to move from window to window & click ‘Withdraw’ option and then close all the tabs in one shot.—

    Hope this Helps…..


  3. Sri says:

    Guys, This is so damn annoying… and I was equally pissed offf…. Instead of the above method using scripts or individually going to every sent invite, I found a semi-automatic simpler way of WITHDRAWING INVITES. without any scripts.

    Just go to Sent items…. in that below the name u will see an the text “Join my network on LinkedIn”…. take ur cursor on top of this text & right click & press ‘T’ in the keyboard which opens it in a new tab. Do this for all the invites in the sent folder. Then use Alt+Tab to move from tab to tab & click ‘Withdraw’ option and then close all the tabs in one shot.– I used Chrome for doing this.

    Hope this Helps atleast one…..


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s