Skip to main content

Composio Restack AI integration

This integration can be used in your project to interact with Composio. Currently you get 4 functions exposed for your usage.

  1. create_calendar_event. This function can be used as an example on how to interact with toolhouse. It will create an event on the google calendar of the connected account in the entity provided.
  2. get_entity. This function will return the entity based on the entity_id provided
  3. get_expected_params_for_user. This function returns the parameters needed for a user to initiate a connection. This is helpful in cases like shopify connection where user needs to provide tokens. Use this function to get list of fields and then you can decide how you want to fetch this from the end user.
  4. initiate_connection. This function will initiate a connection to the provided app. In case a connection is on initiated state the connection object will be returned in which it contains the redirect url the user needs to visit in order to complete auth flow. For example for google calendar user needs to linked their google account in order for the composio tool to be able to create an event on the calendar.
  5. is_entity_connected. Will help you determine if the entity is already connected to an application.

Notes

Make sure to create an account in composio and on your project set the COMPOSIO_API_KEY as an environment variable.

Release files for restack_composio 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for restack_composio 0.0.15
File Size Uploaded
restack_composio-0.0.15.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for restack_composio 0.0.15
File Interpreter ABI Platform
restack_composio-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / restack_composio-0.0.15.tar.gz

Download URL restack_composio-0.0.15.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
949dbb2bce0726855d587f90b695be8bd6f688e3d7cc5a53f5997664be4d5e52
BLAKE2b-256 checksum
How to use checksums
47286e7494b628dc458aa5e6bde237769a449cd5991d37b1f4b5d3357c68f617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.6 Darwin/23.5.0

Release files / restack_composio-0.0.15-py3-none-any.whl

Download URL restack_composio-0.0.15-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
854dacfb04263fd4f88966b0fc62bb15120421cb2fde4a86615d99ef18a6ebc1
BLAKE2b-256 checksum
How to use checksums
49cb55c74be8351d5d354f828ca41b57875979769fe299510963c9a482fd7899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.6 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page