Skip to main content

Composio integration for Restack AI

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restack_composio-0.0.12.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

restack_composio-0.0.12-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file restack_composio-0.0.12.tar.gz.

File metadata

  • Download URL: restack_composio-0.0.12.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.6 Darwin/23.5.0

File hashes

Hashes for restack_composio-0.0.12.tar.gz
Algorithm Hash digest
SHA256 c8b2fcdad3d0d712b53bf40df1e22a1be32ab6366b886a8805c562d04e5504c0
MD5 3ad0003a1272a02089bb14a6aa8930e0
BLAKE2b-256 cc0584d2f3fb5e950abf6ba9675e8ebe089d952db2efe5bb24925bd680eef45f

See more details on using hashes here.

File details

Details for the file restack_composio-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: restack_composio-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.6 Darwin/23.5.0

File hashes

Hashes for restack_composio-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 64dbf1b7bfec74cff30cecb4dc495e9cfeb7ec77044fd206e9fe97c7652b3a2c
MD5 ad069d5ebfdab79718b018fb0d765b26
BLAKE2b-256 d17618a1fb68f9a7c6f8b41121c7f008619e3cf0baaddf24b74db0a07bbbc257

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page