# Simple method to trigger other Serverless functions inside one function

**URL:** <https://forum.serverless.com/t/simple-method-to-trigger-other-serverless-functions-inside-one-function/747>\
**Category:** Serverless Framework\
**Created:** [November 9, 2016, 8:04pm UTC](https://forum.serverless.com/t/simple-method-to-trigger-other-serverless-functions-inside-one-function/747 "2016-11-09T20:04:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdheeter](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jdheeter](https://forum.serverless.com/u/jdheeter)\
**Post date:** [November 9, 2016, 8:04pm UTC](https://forum.serverless.com/t/simple-method-to-trigger-other-serverless-functions-inside-one-function/747/1 "2016-11-09T20:04:39Z")

</div>

I have one function that checks to see what other functions need to run. How do I make a call to run the other Serverless function inside my own project.

The only solution I found was sns but the documentation on actual implementation is sparse.

---

<div class="post-metadata">

**Author:** ![rowanu](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/rowanu/32/75_2.png) [@rowanu](https://forum.serverless.com/u/rowanu)\
**Post date:** [November 9, 2016, 9:59pm UTC](https://forum.serverless.com/t/simple-method-to-trigger-other-serverless-functions-inside-one-function/747/2 "2016-11-09T21:59:19Z")

</div>

You can totally use SNS, but you would have to set up a SNS Topic, subscribe to it, etc.

The easiest way is to just [Invoke](http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Lambda.html#invoke-property) (linking the JS SDK, but all have it) your function from your original function. SNS also doesn’t allow you to pass much data in a message, so Invoke is better for that too.

The Lambda runtime environment _always_ includes the AWS SDK, so you don’t need to package/include it with your function. You will need to make sure your function has the right [IAM privileges](https://serverless.com/framework/docs/providers/aws/guide/iam/#defining-iam-rights) e.g. `lambda:InvokeAsync`, `lambda:InvokeFunction`, etc.

---

<div class="post-metadata">

**Author:** ![jdheeter](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jdheeter](https://forum.serverless.com/u/jdheeter)\
**Post date:** [November 10, 2016, 11:56pm UTC](https://forum.serverless.com/t/simple-method-to-trigger-other-serverless-functions-inside-one-function/747/3 "2016-11-10T23:56:48Z")

</div>

Ok thanks for the info. Seems like a good topic for documentation.
