I work for a small-ish company (~15 employees).
I've managed to automate myself out of 80% of my job, starting in 3-4 months. I would really like to stay with my company, but my best analysis suggests that there simply won't be (enough of) a need for me. If our growth rate continues, that 20% will probably become 100% in a couple of years, but for the time being there just isn't enough of it.
How do I approach my boss to discuss this and, assuming my analysis is correct, what options can I suggest that would enable me to continue having a professional relationship going forward?
Edit to address the dupe-votes: I would say this is sufficiently different because it is not about whether I automate my job away (that has already been set in motion), but how to approach management about the outcome and any potential transition.
I talked to my boss. The conversation went something like this (condensed and paraphrased):
Me: "I'm concerned that when [project] is finished in 3 months' time, 80% of my workload is going to disappear and I can't see anything obvious to replace it. Can we have a discussion about that now, in advance, so I know where I stand."
My Boss: "I wouldn't worry about it. I'm pretty certain we can find other projects for you. Just off the top of my head, there's [x, y, z] which I've always wanted to implement, and there's probably additional training we can arrange for you or you can investigate for yourself.
If it ever comes to a point where we can't gainfully employ you, then we can have that conversation. But in the meantime, keep doing what you're doing."
Thanks everyone, you helped a lot.
Update from 6 months later:
Oh my lord does this look naive with the benefit of hindsight.
I mean, yes, I did automate away most of my old job. But this simply opened up new projects, responsibilities & opportunities. 6 months later, I'm busier than ever.
Update from a year later:
Nowadays, I look back on this and laugh with wry amusement.
The automation did, indeed, turn out to need a lot of ongoing development, extension and maintenance. And with my workload suitably reduced, when one of our senior employees left, the operational half of their job was given to me to take over, learn, and automate in similar fashion.
14 months on I've been promoted twice, have far broader responsibilities, and a Junior employee working under me because my time is now too valuable and in-demand to be spent on the tricky-to-automate manual tasks that are still lying around.
Lots of serendipity involved there, but it certainly wouldn't have happened if I were still doing the manual work I used to be doing.